Module Name: src
Committed By: roy
Date: Mon May 1 18:39:02 UTC 2017
Modified Files:
src/lib/libterminfo: termcap.c
Log Message:
Whitespace police.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libterminfo/termcap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libterminfo/termcap.c
diff -u src/lib/libterminfo/termcap.c:1.20 src/lib/libterminfo/termcap.c:1.21
--- src/lib/libterminfo/termcap.c:1.20 Wed Jan 11 20:53:52 2017
+++ src/lib/libterminfo/termcap.c Mon May 1 18:39:02 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: termcap.c,v 1.20 2017/01/11 20:53:52 roy Exp $ */
+/* $NetBSD: termcap.c,v 1.21 2017/05/01 18:39:02 roy Exp $ */
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: termcap.c,v 1.20 2017/01/11 20:53:52 roy Exp $");
+__RCSID("$NetBSD: termcap.c,v 1.21 2017/05/01 18:39:02 roy Exp $");
#include <assert.h>
#include <ctype.h>
@@ -200,7 +200,7 @@ numname(const char *key)
uint32_t idx;
idx = _t_numhash((const unsigned char *)key, strlen(key));
- if (idx < __arraycount(_ti_cap_numids) &&
+ if (idx < __arraycount(_ti_cap_numids) &&
strcmp(key, _ti_cap_numids[idx].id) == 0)
return _ti_numid(_ti_cap_numids[idx].ti);
return key;
@@ -254,7 +254,7 @@ printchar(char **dst, const char **src)
case '2':
case '3':
v = 0;
- while (isdigit((unsigned char) **src))
+ while (isdigit((unsigned char) **src))
v = 8 * v + ((unsigned char) *(*src)++ - '0');
(*src)--;
break;