Module Name: src Committed By: christos Date: Mon Oct 3 14:09:38 UTC 2011
Modified Files: src/lib/libedit: terminal.c Log Message: fix broken change (parenthesis in the wrong place). From Nirbhay Choubey To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libedit/terminal.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/terminal.c diff -u src/lib/libedit/terminal.c:1.8 src/lib/libedit/terminal.c:1.9 --- src/lib/libedit/terminal.c:1.8 Tue Aug 16 12:25:15 2011 +++ src/lib/libedit/terminal.c Mon Oct 3 10:09:38 2011 @@ -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 @@ terminal_get_size(EditLine *el, int *lin } } #endif - return Val(T_co != *cols || Val(T_li) != *lins); + return Val(T_co) != *cols || Val(T_li) != *lins; }