X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=a7cc074e45bb23d820ab71b63e61d674807edaec;hp=8d31af60092bfc22586d03c783c35b78a1456368;hb=488a60c8ef78872f38bbb3439a75cb2cda985a12;hpb=0840ecb90bb99da0d6b0c028ace977dd1932e6e1 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);