summaryrefslogtreecommitdiff
path: root/lib/libform
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-10-22 18:27:26 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-10-22 18:27:26 +0000
commit4cf4e50d3f2514c7715234cde554811d1510d49b (patch)
treea68fbff86315c8b661436cfcea7521a28fc27266 /lib/libform
parentebaa4a3245dc19de0dd708004824d9ada7c49a44 (diff)
update to ncurses 5.2
Diffstat (limited to 'lib/libform')
-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;