From 738a2250116a69eabef66aa4fc7a0d3005a1ac27 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sat, 22 Jan 2022 16:04:02 +0200 Subject: [PATCH] Replace a return value with ECMD define --- src/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd.c b/src/cmd.c index ba8fd773c..4eef6a2f7 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -385,7 +385,7 @@ doextcmd(void) func = extcmdlist[idx].ef_funct; if (!can_do_extcmd(&extcmdlist[idx])) - return 0; + return ECMD_OK; if (iflags.menu_requested && !accept_menu_prefix(&extcmdlist[idx])) { pline("'%s' prefix has no effect for the %s command.", visctrl(cmd_from_func(do_reqmenu)),