projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PoC support for lua.
[apps/madmutt.git]
/
main.c
diff --git
a/main.c
b/main.c
index
2d2a789
..
f452ba2
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-19,6
+19,7
@@
#include <sys/utsname.h>
#include <sys/utsname.h>
+#include <lib-lua/lib-lua.h>
#include <lib-sys/mutt_signal.h>
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
#include <lib-sys/mutt_signal.h>
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
@@
-269,11
+270,6
@@
static void show_version (void)
"-HAVE_REGCOMP "
#endif
"\n "
"-HAVE_REGCOMP "
#endif
"\n "
-#ifdef HAVE_COLOR
- "+HAVE_COLOR "
-#else
- "-HAVE_COLOR "
-#endif
#ifdef HAVE_START_COLOR
"+HAVE_START_COLOR "
#else
#ifdef HAVE_START_COLOR
"+HAVE_START_COLOR "
#else
@@
-855,5
+851,6
@@
int main (int argc, char **argv)
mutt_endwin (Errorbuf);
}
mutt_endwin (Errorbuf);
}
+ mlua_shutdown();
exit (0);
}
exit (0);
}