diff options
author | 2000-10-22 18:27:18 +0000 | |
---|---|---|
committer | 2000-10-22 18:27:18 +0000 | |
commit | 77c4fa26c6285d9f2b132fa6a07933d42629509f (patch) | |
tree | 7a870c763bce0356d659b4f87850503c8dc3dd13 /lib/libform/fty_enum.c | |
parent | makeoptions DEBUG does not imply -DDEBUG; noticed by gluk@ptci.ru. (diff) | |
download | wireguard-openbsd-77c4fa26c6285d9f2b132fa6a07933d42629509f.tar.xz wireguard-openbsd-77c4fa26c6285d9f2b132fa6a07933d42629509f.zip |
update to ncurses 5.2
Diffstat (limited to 'lib/libform/fty_enum.c')
-rw-r--r-- | lib/libform/fty_enum.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libform/fty_enum.c b/lib/libform/fty_enum.c index a27a9ca8751..42aebc38098 100644 --- a/lib/libform/fty_enum.c +++ b/lib/libform/fty_enum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fty_enum.c,v 1.7 2000/10/08 22:47:09 millert Exp $ */ +/* $OpenBSD: fty_enum.c,v 1.8 2000/10/22 18:27:24 millert Exp $ */ /* @@ -15,7 +15,7 @@ #include "form.priv.h" -MODULE_ID("$From: fty_enum.c,v 1.13 2000/09/10 00:55:26 juergen Exp $") +MODULE_ID("$From: fty_enum.c,v 1.14 2000/10/18 09:28:19 juergen Exp $") typedef struct { char **kwds; @@ -49,7 +49,7 @@ static void *Make_Enum_Type(va_list * ap) argp->checkunique = cunique ? TRUE : FALSE; kp = argp->kwds; - while( (kp && *kp++) ) cnt++; + while( kp && (*kp++) ) cnt++; argp->count = cnt; } return (void *)argp; |