Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libterminfo Whitespace police.
details: https://anonhg.NetBSD.org/src/rev/129962e53bcf
branches: trunk
changeset: 353362:129962e53bcf
user: roy <roy%NetBSD.org@localhost>
date: Mon May 01 18:39:02 2017 +0000
description:
Whitespace police.
diffstat:
lib/libterminfo/termcap.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r e384425310eb -r 129962e53bcf lib/libterminfo/termcap.c
--- a/lib/libterminfo/termcap.c Mon May 01 13:03:01 2017 +0000
+++ b/lib/libterminfo/termcap.c Mon May 01 18:39:02 2017 +0000
@@ -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 @@
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 @@
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;
Home |
Main Index |
Thread Index |
Old Index