diff --git a/src/winio.c b/src/winio.c index f6b06f39..062ac0ee 100644 --- a/src/winio.c +++ b/src/winio.c @@ -101,8 +101,10 @@ void run_macro(void) return; } - if (macro_length == 0) + if (macro_length == 0) { + statusline(HUSH, _("Macro is empty")); return; + } free(key_buffer); key_buffer = (int *)nmalloc(macro_length * sizeof(int));