X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=ed99c4a4932804f569e2eb05e73d135aa093cf17;hp=349358751f60536006e14d1b2a733b884ef091b2;hb=cc707c1e986b60f2c1c1932d0789038d465a7a59;hpb=fc7b90fd61ac9efd35a5b506cc10679969d84cba diff --git a/commands.c b/commands.c index 3493587..ed99c4a 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]) + m_strcpy(buf, sizeof(buf), ml_core.shell); if (buf[0]) { CLEARLINE (LINES - 1); mutt_endwin (NULL);