Lua improvements:
[apps/madmutt.git] / commands.c
index 8d31af6..ed99c4a 100644 (file)
@@ -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);