variable 'display' causes shadow variable warnings in X11 build

display.botl      -> disp.botl
display.botlx     -> disp.botlx
display.time_botl -> disp.time_botl
This commit is contained in:
nhmall
2024-01-05 05:58:51 -05:00
parent f8230eff4b
commit 4e19221e55
45 changed files with 249 additions and 249 deletions

View File

@@ -1670,7 +1670,7 @@ docrt_flags(int refresh_flags)
/* perm_invent */
update_inventory();
/* status */
display.botlx = TRUE; /* force a redraw of the bottom lines */
disp.botlx = TRUE; /* force a redraw of the bottom lines */
/* note: caller needs to call bot() to actually redraw status */
}
gp.program_state.in_docrt = FALSE;
@@ -2045,7 +2045,7 @@ cls(void)
return;
in_cls = TRUE;
display_nhwindow(WIN_MESSAGE, FALSE); /* flush messages */
display.botlx = TRUE; /* force update of botl window */
disp.botlx = TRUE; /* force update of botl window */
clear_nhwindow(WIN_MAP); /* clear physical screen */
clear_glyph_buffer(); /* force gbuf[][].glyph to unexplored */
@@ -2084,9 +2084,9 @@ flush_screen(int cursor_on_u)
#endif
/* get this done now, before we place the cursor on the hero */
if (display.botl || display.botlx)
if (disp.botl || disp.botlx)
bot();
else if (display.time_botl)
else if (disp.time_botl)
timebot();
for (y = 0; y < ROWNO; y++) {