map has been partially overwritten by popup menu or text display
tty: previous change resulted in remnants of previous level being shown on
new level after level change when S_unexplored is <space>
+tty: for #wizidentify, using ^I as an unseen group accelerator to pick the
+ 'all' choice was incorrectly checking menuitem_invert_test() and
+ failing, so the 'all' choice wasn't being toggled on if user typed ^I
Unix: after lua changes to Makefiles, 'make spotless' for dat subdirectory
left some generated data files which should have been deleted
Windows: new tile additions in win/share did not trigger the creation of a new
*/
#define HUPSKIP() \
do { \
- if (g.program_state.done_hup) { \
+ if (g.program_state.done_hup) { \
morc = '\033'; \
return; \
} \
/* morc=ESC - in case we bypass xwaitforspace() which sets that */
#define HUPSKIP_RESULT(RES) \
do { \
- if (g.program_state.done_hup) \
+ if (g.program_state.done_hup) \
return (RES); \
} while (0)
#else /* !HANGUP_HANDLING */
for (n = 0, curr = page_start; curr != page_end; n++, curr = curr->next) {
if (!curr->identifier.a_void /* not selectable */
- || (acc != 0 && curr->gselector != acc) /* not group 'acc' */
- || !menuitem_invert_test(0, curr->itemflags, curr->selected))
+ || (acc ? curr->gselector != acc /* skip if not group 'acc' */
+ /* inverting all rather than a group; skip if flagged */
+ : !menuitem_invert_test(0, curr->itemflags, curr->selected)))
continue;
if (curr->selected) {
limits to bulk toggling (assumes that an item won't be
both in a group and also subject to bulk restrictions) */
if (on_curr_page || !curr->identifier.a_void
- || (acc != 0 && curr->gselector != acc)
- || !menuitem_invert_test(0, curr->itemflags, curr->selected))
+ || (acc ? curr->gselector != acc
+ : !menuitem_invert_test(0, curr->itemflags, curr->selected)))
continue;
if (curr->selected) {