Source-Changes-HG archive

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

[src/trunk]: src/lib/libedit fix broken change (parenthesis in the wrong plac...



details:   https://anonhg.NetBSD.org/src/rev/bad0cea92d11
branches:  trunk
changeset: 770098:bad0cea92d11
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Oct 03 14:09:38 2011 +0000

description:
fix broken change (parenthesis in the wrong place). From Nirbhay Choubey

diffstat:

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

diffs (27 lines):

diff -r 83e04a730adf -r bad0cea92d11 lib/libedit/terminal.c
--- a/lib/libedit/terminal.c    Mon Oct 03 13:12:15 2011 +0000
+++ b/lib/libedit/terminal.c    Mon Oct 03 14:09:38 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: terminal.c,v 1.8 2011/08/16 16:25:15 christos Exp $    */
+/*     $NetBSD: terminal.c,v 1.9 2011/10/03 14:09:38 christos Exp $    */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)term.c     8.2 (Berkeley) 4/30/95";
 #else
-__RCSID("$NetBSD: terminal.c,v 1.8 2011/08/16 16:25:15 christos Exp $");
+__RCSID("$NetBSD: terminal.c,v 1.9 2011/10/03 14:09:38 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -969,7 +969,7 @@
                }
        }
 #endif
-       return Val(T_co != *cols || Val(T_li) != *lins);
+       return Val(T_co) != *cols || Val(T_li) != *lins;
 }
 
 



Home | Main Index | Thread Index | Old Index