summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-18 19:24:21 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-18 19:24:21 +0000
commitd130d806969df4a5b04cfa5280842ebf7e23e4ef (patch)
tree1a57f9f7c82ff83f86be77b307aa02087c270b3e /src
parentf61bde7d3cd6932829f5537527942c6193fe6dcd (diff)
downloadirssi-d130d806969df4a5b04cfa5280842ebf7e23e4ef.zip
bugfix for displaying 128-160 ascii chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1010 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/gui-windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c
index 7ef33474..7152a55a 100644
--- a/src/fe-text/gui-windows.c
+++ b/src/fe-text/gui-windows.c
@@ -473,7 +473,7 @@ static void single_line_draw(GUI_WINDOW_REC *gui, int ypos,
else {
/* low-ascii */
set_color(cwin, ATTR_REVERSE);
- waddch(cwin, *text+'A'-1);
+ waddch(cwin, (*text & 127)+'A'-1);
set_color(cwin, color);
}
text++;