aboutsummaryrefslogtreecommitdiff
path: root/nncmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nncmpp.c')
-rw-r--r--nncmpp.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/nncmpp.c b/nncmpp.c
index 0406cfb..4db9cbf 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -4048,9 +4048,12 @@ help_tab_on_action (enum action action)
return false;
action = g_help_tab.actions[tab->item_selected];
- return action != ACTION_NONE
- && action != ACTION_CHOOSE // avoid recursion
- && app_process_action (action);
+ if (action == ACTION_NONE || action == ACTION_CHOOSE /* avoid recursion */)
+ return false;
+
+ // XXX: We can't propagate failure, which produces beeps in the TUI, but we
+ // don't want to let our caller show a bad "can't do that" message either.
+ return app_process_action (action), true;
}
static void