Fix wrong (char) cast (instead of unsigned char) causing highlighting of all
8bit characters due to famous sign extension bug.
This commit is contained in:
parent
680307ae14
commit
68bfc19537
@ -965,13 +965,13 @@ int column;
|
||||
}
|
||||
else
|
||||
{
|
||||
waddch(window, (char)character );
|
||||
waddch(window, (unsigned char)character );
|
||||
return(1);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
waddch(window, (char)character);
|
||||
waddch(window, (unsigned char)character);
|
||||
return(1);
|
||||
}
|
||||
for (i2 = 0; (string[i2] != (char) NULL) && (((column+i2+1)-horiz_offset) < last_col); i2++)
|
||||
|
Loading…
Reference in New Issue
Block a user