summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-08-24 07:26:47 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-08-24 07:26:47 +0200
commit6033f6a869787c9869224092df2066b9bf49c826 (patch)
treea16c6a3f7e8743d1b85df0bac93079bc8883980d
parent88e86724c396e5212406f4896a31da78c60b9040 (diff)
downloadnncmpp-6033f6a869787c9869224092df2066b9bf49c826.tar.gz
nncmpp-6033f6a869787c9869224092df2066b9bf49c826.tar.xz
nncmpp-6033f6a869787c9869224092df2066b9bf49c826.zip
Notify when actions can't be taken
-rw-r--r--nncmpp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nncmpp.c b/nncmpp.c
index 9c2efee..6214345 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -2536,6 +2536,7 @@ app_process_action (enum action action)
app_invalidate ();
return true;
default:
+ print_error ("can't do that here: %s", g_action_descriptions[action]);
return false;
case ACTION_MULTISELECT:
@@ -2666,6 +2667,7 @@ app_editor_process_action (enum action action)
g.editor.on_end = NULL;
return true;
default:
+ print_error ("can't do that here: %s", g_action_descriptions[action]);
return false;
case ACTION_EDITOR_B_CHAR: