a pair of analyzer bits
This commit is contained in:
@@ -98,7 +98,7 @@ cell_t undefined_cell = { CONSOLE_UNDEFINED_CHARACTER,
|
||||
CONSOLE_UNDEFINED_ATTRIBUTE };
|
||||
#else /* VIRTUAL_TERMINAL_SEQUENCES */
|
||||
cell_t clear_cell = { { CONSOLE_CLEAR_CHARACTER, 0, 0, 0, 0, 0, 0 },
|
||||
CONSOLE_CLEAR_CHARACTER, 0, 0L, 0, "\x1b[0m" };
|
||||
CONSOLE_CLEAR_CHARACTER, 0, 0L, 0, "\x1b[0m", 0 };
|
||||
cell_t undefined_cell = { { CONSOLE_UNDEFINED_CHARACTER, 0, 0, 0, 0, 0, 0 },
|
||||
CONSOLE_UNDEFINED_CHARACTER, 0, 0L, 0, (const char *) 0 };
|
||||
static const uint8 empty_utf8str[MAX_UTF8_SEQUENCE] = { 0 };
|
||||
|
||||
@@ -1069,11 +1069,12 @@ curses_putmsghistory(const char *msg, boolean restoring_msghist)
|
||||
however, we aren't only called when restoring history;
|
||||
core uses putmsghistory() for other stuff during play
|
||||
and those messages should have a normal turn value */
|
||||
if (last_mesg) /* appease static analyzer */
|
||||
if (last_mesg) { /* appease static analyzer */
|
||||
last_mesg->turn = restoring_msghist ? (1L << 3) : gh.hero_seq;
|
||||
#ifdef DUMPLOG_CORE
|
||||
dumplogmsg(last_mesg->str);
|
||||
dumplogmsg(last_mesg->str);
|
||||
#endif
|
||||
}
|
||||
} else if (stash_count) {
|
||||
nhprev_mesg *mesg;
|
||||
long mesg_turn;
|
||||
|
||||
Reference in New Issue
Block a user