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