status display - core modules (trunk only)
Introduction of a new set of window port status display routines. The new routines are conditional on STATUS_VIA_WINDOWPORT being defined in config.h. See the experimental section, where the #define resides for the time being.
This commit is contained in:
@@ -768,10 +768,17 @@ die:
|
||||
wait_synch();
|
||||
display_nhwindow(WIN_MESSAGE, TRUE);
|
||||
destroy_nhwindow(WIN_MAP);
|
||||
#ifdef STATUS_VIA_WINDOWPORT
|
||||
status_finish();
|
||||
#else
|
||||
destroy_nhwindow(WIN_STATUS);
|
||||
#endif
|
||||
destroy_nhwindow(WIN_MESSAGE);
|
||||
#ifdef STATUS_VIA_WINDOWPORT
|
||||
WIN_MESSAGE = WIN_MAP = WIN_ERR;
|
||||
#else
|
||||
WIN_MESSAGE = WIN_STATUS = WIN_MAP = WIN_ERR;
|
||||
|
||||
#endif
|
||||
if(!done_stopprint || flags.tombstone)
|
||||
endwin = create_nhwindow(NHW_TEXT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user