Module Name: src Committed By: christos Date: Sun Oct 23 17:37:55 UTC 2011
Modified Files: src/lib/libedit: chared.c Log Message: Fixed misplaced parenthesis (Nirbhay Choubey) To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/libedit/chared.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libedit/chared.c diff -u src/lib/libedit/chared.c:1.35 src/lib/libedit/chared.c:1.36 --- src/lib/libedit/chared.c:1.35 Tue Aug 16 12:25:15 2011 +++ src/lib/libedit/chared.c Sun Oct 23 13:37:55 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: chared.c,v 1.35 2011/08/16 16:25:15 christos Exp $ */ +/* $NetBSD: chared.c,v 1.36 2011/10/23 17:37:55 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)chared.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: chared.c,v 1.35 2011/08/16 16:25:15 christos Exp $"); +__RCSID("$NetBSD: chared.c,v 1.36 2011/10/23 17:37:55 christos Exp $"); #endif #endif /* not lint && not SCCSID */ @@ -201,7 +201,7 @@ c_delbefore1(EditLine *el) protected int ce__isword(Int p) { - return Isalnum(p || Strchr(STR("*?_-.[]~="), p) != NULL); + return Isalnum(p) || Strchr(STR("*?_-.[]~="), p) != NULL; }