mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
bugfix for displaying 128-160 ascii chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1010 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f61bde7d3c
commit
d130d80696
@ -473,7 +473,7 @@ static void single_line_draw(GUI_WINDOW_REC *gui, int ypos,
|
|||||||
else {
|
else {
|
||||||
/* low-ascii */
|
/* low-ascii */
|
||||||
set_color(cwin, ATTR_REVERSE);
|
set_color(cwin, ATTR_REVERSE);
|
||||||
waddch(cwin, *text+'A'-1);
|
waddch(cwin, (*text & 127)+'A'-1);
|
||||||
set_color(cwin, color);
|
set_color(cwin, color);
|
||||||
}
|
}
|
||||||
text++;
|
text++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user