bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses-5.2-20010618.patch.gz


From: Sven Verdoolaege
Subject: Re: ncurses-5.2-20010618.patch.gz
Date: Tue, 19 Jun 2001 00:02:48 +0200
User-agent: Mutt/1.3.17i

On Mon, Jun 18, 2001 at 05:45:43PM -0400, Thomas E. Dickey wrote:
> On Mon, 18 Jun 2001, Eugene Lee wrote:
> > Looks like view.c still uses CharOf().  Just swap it with UChar()?
> 
> probably (though Skimo may have used CharOf in the sense he intended -
> sorry I'm shutting down in 10 minutes)...
> 
Certainly.

skimo

--- test/view.c.orig    Mon Jun 18 23:45:21 2001
+++ test/view.c Mon Jun 18 23:45:33 2001
@@ -252,11 +252,11 @@
 #if USE_WIDEC_SUPPORT
                col++, d++;
 #else
-           if (isprint(CharOf(*d))) {
+           if (isprint(UChar(*d))) {
                col++;
                d++;
            } else {
-               sprintf(d, "\\%03o", CharOf(*s));
+               sprintf(d, "\\%03o", UChar(*s));
                d += strlen(d);
                col = (d - temp);
            }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]