X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=8d31af60092bfc22586d03c783c35b78a1456368;hp=349358751f60536006e14d1b2a733b884ef091b2;hb=0840ecb90bb99da0d6b0c028ace977dd1932e6e1;hpb=88d22daa9c1316d5ccc4b4bb60d40cc96c767757 diff --git a/commands.c b/commands.c index 3493587..8d31af6 100644 --- a/commands.c +++ b/commands.c @@ -16,6 +16,7 @@ #include #include +#include #include #include #include @@ -518,8 +519,8 @@ void mutt_shell_escape (void) buf[0] = 0; if (mutt_get_field (_("Shell command: "), buf, sizeof (buf), M_CMD) == 0) { - if (!buf[0] && Shell) - m_strcpy(buf, sizeof(buf), Shell); + if (!buf[0]) + mlua_value(buf, sizeof(buf), "madmutt", "shell"); if (buf[0]) { CLEARLINE (LINES - 1); mutt_endwin (NULL);