X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=commands.c;h=8d31af60092bfc22586d03c783c35b78a1456368;hb=3132c5f07ae687b5daac6b570347369967850863;hp=359059671eeb97e4b0c7244b07c013ae361091ef;hpb=15d63145b9f11a1fa58c74abbeab7533ea2e5d21;p=apps%2Fmadmutt.git diff --git a/commands.c b/commands.c index 3590596..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); @@ -777,7 +778,7 @@ int mutt_save_message (HEADER * h, int delete, void mutt_version (void) { - mutt_message (mutt_make_version (1)); + mutt_message (mutt_make_version()); } void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp)