projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplify hashes.
[apps/madmutt.git]
/
main.c
diff --git
a/main.c
b/main.c
index
2d2a789
..
adb387d
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>
@@
-89,7
+90,7
@@
void mutt_exit (int code)
static void mutt_usage (void)
{
static void mutt_usage (void)
{
- puts (mutt_make_version
(1
));
+ puts (mutt_make_version
(
));
puts
_("usage: madmutt [ -nRyzZ ] [ -e <cmd> ] [ -F <file> ] [ -m <type> ] [ -f <file> ]\n\
puts
_("usage: madmutt [ -nRyzZ ] [ -e <cmd> ] [ -F <file> ] [ -m <type> ] [ -f <file> ]\n\
@@
-143,7
+144,7
@@
static void show_version (void)
char buf[STRING];
#endif
char buf[STRING];
#endif
- puts (mutt_make_version
(1
));
+ puts (mutt_make_version
(
));
puts (_(Notice));
uname (&uts);
puts (_(Notice));
uname (&uts);
@@
-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);
}