don't try to use curses before things have been initialized

This commit is contained in:
Bill Currie 2001-07-19 00:07:20 +00:00
parent 2732797574
commit 40dfde55a1

View file

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