putmsghistory() (trunk only)

[Third of three message history patches.]

     Add another argument to putmsghistory() so that it can tell whether
it's processing multiple messages for restore (which should be treated as
being older than any current messages) or a single message to stuff into
history (which should be treated as the most recent message even though
it hasn't been displayed in the message window).
This commit is contained in:
nethack.rankin
2009-04-06 01:43:01 +00:00
parent 47dad80337
commit f468865494
8 changed files with 21 additions and 13 deletions

View File

@@ -69,7 +69,7 @@ struct window_procs {
void FDECL((*win_outrip), (winid,int));
void FDECL((*win_preference_update), (const char *));
char * FDECL((*win_getmsghistory), (BOOLEAN_P));
void FDECL((*win_putmsghistory), (const char *));
void FDECL((*win_putmsghistory), (const char *,BOOLEAN_P));
#ifdef STATUS_VIA_WINDOWPORT
void NDECL((*win_status_init));
void NDECL((*win_status_finish));