fix a sign extention error

This commit is contained in:
Bill Currie 2001-07-19 00:24:24 +00:00
parent 40dfde55a1
commit 086084c1fa

View file

@ -152,14 +152,14 @@ Con_Print (const char *txt)
chtype ch;
if (output) {
while ((ch = *txt++)) {
while ((ch = (byte)*txt++)) {
ch = sys_char_map[ch] | attr_table[attr_map[ch]];
waddch (output, ch);
}
touchwin (stdscr);
wrefresh (output);
} else {
while ((ch = *txt++)) {
while ((ch = (byte)*txt++)) {
ch = sys_char_map[ch];
putchar (ch);
}