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