summaryrefslogtreecommitdiff
path: root/lib/libcurses/tinfo
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-03-20 03:40:07 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-03-20 03:40:07 +0000
commit357895d5616c8ffdfbdce99ee079c44b3b55aaba (patch)
tree43f0d33cbc721fa6ee6f40769fc845900f1d902d /lib/libcurses/tinfo
parent94bab411a276ca02ad0192636b48b1d85de9573b (diff)
remove some bogus *p tests from charles longeau
ok deraadt millert
Diffstat (limited to 'lib/libcurses/tinfo')
-rw-r--r--lib/libcurses/tinfo/comp_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcurses/tinfo/comp_hash.c b/lib/libcurses/tinfo/comp_hash.c
index 172c3fc946a..a4b10f3c546 100644
--- a/lib/libcurses/tinfo/comp_hash.c
+++ b/lib/libcurses/tinfo/comp_hash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: comp_hash.c,v 1.6 2003/03/18 16:55:54 millert Exp $ */
+/* $OpenBSD: comp_hash.c,v 1.7 2007/03/20 03:40:06 tedu Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -216,7 +216,7 @@ static char **parse_columns(char *buffer)
col++;
if (mark == '\0')
break;
- while (*++s && isspace(*s))
+ while (isspace(*++s))
/*EMPTY*/;
buffer = s;
} else