Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit Fixed misplaced parenthesis (Nirbhay Choubey)



details:   https://anonhg.NetBSD.org/src/rev/804a19f722eb
branches:  trunk
changeset: 770568:804a19f722eb
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 23 17:37:55 2011 +0000

description:
Fixed misplaced parenthesis (Nirbhay Choubey)

diffstat:

 lib/libedit/chared.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 57a48d5279d4 -r 804a19f722eb lib/libedit/chared.c
--- a/lib/libedit/chared.c      Sun Oct 23 13:30:20 2011 +0000
+++ b/lib/libedit/chared.c      Sun Oct 23 17:37:55 2011 +0000
@@ -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 @@
 protected int
 ce__isword(Int p)
 {
-       return Isalnum(p || Strchr(STR("*?_-.[]~="), p) != NULL);
+       return Isalnum(p) || Strchr(STR("*?_-.[]~="), p) != NULL;
 }
 
 



Home | Main Index | Thread Index | Old Index