X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=commands.c;h=a7cc074e45bb23d820ab71b63e61d674807edaec;hb=6f1bd3d49f9bb02c57e2c7a1ba8e5507edb28ad5;hp=8d31af60092bfc22586d03c783c35b78a1456368;hpb=0fa8ebfe1d97b31c7d137d6cd45d480fa544d8a5;p=apps%2Fmadmutt.git diff --git a/commands.c b/commands.c index 8d31af6..a7cc074 100644 --- a/commands.c +++ b/commands.c @@ -520,7 +520,7 @@ void mutt_shell_escape (void) buf[0] = 0; if (mutt_get_field (_("Shell command: "), buf, sizeof (buf), M_CMD) == 0) { if (!buf[0]) - mlua_value(buf, sizeof(buf), "madmutt", "shell"); + m_strcpy(buf, sizeof(buf), mlua_reggets(LTK_SHELL)); if (buf[0]) { CLEARLINE (LINES - 1); mutt_endwin (NULL);