diff options
author | 1999-03-11 21:02:39 +0000 | |
---|---|---|
committer | 1999-03-11 21:02:39 +0000 | |
commit | 6e507ba04915ba0d36a45be8a92688a52304fac3 (patch) | |
tree | 2b60f5366ff172a5e0bec75e2daaa386b61741f5 /lib | |
parent | wb(4) fits on RAMDISK (diff) | |
download | wireguard-openbsd-6e507ba04915ba0d36a45be8a92688a52304fac3.tar.xz wireguard-openbsd-6e507ba04915ba0d36a45be8a92688a52304fac3.zip |
Fix an && that should be ||; ncurses-4.2-990306
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libform/fld_newftyp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libform/fld_newftyp.c b/lib/libform/fld_newftyp.c index caeea2a3091..9ae5683e7c2 100644 --- a/lib/libform/fld_newftyp.c +++ b/lib/libform/fld_newftyp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fld_newftyp.c,v 1.2 1998/07/24 02:36:48 millert Exp $ */ +/* $OpenBSD: fld_newftyp.c,v 1.3 1999/03/11 21:02:39 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -34,7 +34,7 @@ #include "form.priv.h" -MODULE_ID("$From: fld_newftyp.c,v 1.2 1998/02/11 12:13:44 tom Exp $") +MODULE_ID("$From: fld_newftyp.c,v 1.3 1999/03/03 16:22:27 juergen Exp $") static FIELDTYPE const default_fieldtype = { 0, /* status */ @@ -73,7 +73,7 @@ FIELDTYPE *new_fieldtype( { FIELDTYPE *nftyp = (FIELDTYPE *)0; - if ( (field_check) && (char_check) ) + if ( (field_check) || (char_check) ) { nftyp = (FIELDTYPE *)malloc(sizeof(FIELDTYPE)); if (nftyp) |