Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Minor adjustment to prior to match putch



details:   https://anonhg.NetBSD.org/src/rev/4707e2ad6b7b
branches:  trunk
changeset: 997869:4707e2ad6b7b
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Mar 29 18:32:45 2019 +0000

description:
Minor adjustment to prior to match putch

diffstat:

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

diffs (27 lines):

diff -r 692b8946d44c -r 4707e2ad6b7b lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c   Fri Mar 29 16:56:58 2019 +0000
+++ b/lib/libcurses/refresh.c   Fri Mar 29 18:32:45 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: refresh.c,v 1.106 2019/03/29 16:56:58 roy Exp $        */
+/*     $NetBSD: refresh.c,v 1.107 2019/03/29 18:32:45 roy Exp $        */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)refresh.c  8.7 (Berkeley) 8/13/94";
 #else
-__RCSID("$NetBSD: refresh.c,v 1.106 2019/03/29 16:56:58 roy Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.107 2019/03/29 18:32:45 roy Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -1317,7 +1317,7 @@
 #ifdef HAVE_WCHAR
                        chw = WCOL(*nsp);
                        if (chw < 0)
-                               chw = 1;
+                               chw = 0; /* match putch() */
 #else
                        chw = 1;
 #endif /* HAVE_WCHAR */



Home | Main Index | Thread Index | Old Index