mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 18:01:13 +00:00
fix a sign extention error
This commit is contained in:
parent
40dfde55a1
commit
086084c1fa
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue