diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-03-11 21:02:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-03-11 21:02:40 +0000 |
commit | 62849813a43735aeaa89e531a24138e11c68b595 (patch) | |
tree | 85257e59a36007d5c2414081dc042f47cecb9665 | |
parent | 1d171f192c3173e2995cda2ff6425889006090fc (diff) |
Fix an && that should be ||; ncurses-4.2-990306
-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) |