summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/gui-windows.c')
-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++;