new lua implementation.
[apps/madmutt.git] / lib-ui / curs_lib.c
index 81edf2e..571f285 100644 (file)
@@ -144,7 +144,7 @@ void mutt_edit_file(const char *data)
   char cmd[LONG_STRING];
 
   mutt_endwin (NULL);
-  m_quotefile_fmt(cmd, sizeof (cmd), mlua_reggets(LTK_EDITOR), data);
+  m_quotefile_fmt(cmd, sizeof (cmd), ml_core.editor, data);
   if (mutt_system (cmd) == -1)
     mutt_error (_("Error running \"%s\"!"), cmd);
   keypad (stdscr, TRUE);