From 9a996c8440f1470b7c1a686e4c345bfad4c0e997 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Thu, 25 Aug 2022 07:45:49 +0200 Subject: Adjust the "action unavailable" message --- nncmpp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nncmpp.c b/nncmpp.c index c450647..b8a4dd6 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -2625,7 +2625,8 @@ app_process_action (enum action action) app_hide_message (); return true; default: - print_error ("can't do that here: %s", g_action_descriptions[action]); + print_error ("\"%s\" is not allowed here", + g_action_descriptions[action]); return false; case ACTION_MULTISELECT: @@ -2757,7 +2758,8 @@ 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]); + print_error ("\"%s\" is not allowed here", + g_action_descriptions[action]); return false; case ACTION_EDITOR_B_CHAR: -- cgit v1.2.3-70-g09d2