summaryrefslogtreecommitdiffstats
path: root/lib/libform/fty_enum.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-10-22 18:27:18 +0000
committermillert <millert@openbsd.org>2000-10-22 18:27:18 +0000
commit77c4fa26c6285d9f2b132fa6a07933d42629509f (patch)
tree7a870c763bce0356d659b4f87850503c8dc3dd13 /lib/libform/fty_enum.c
parentmakeoptions DEBUG does not imply -DDEBUG; noticed by gluk@ptci.ru. (diff)
downloadwireguard-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.c6
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;