summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-12-28 13:13:58 +0000
committerFrederic Culot <calcurse@culot.org>2008-12-28 13:13:58 +0000
commit5352496984d550bd441b12a082d5a382c168cbe2 (patch)
tree8a61b0785ba0d2f9edde566bef372360244949e3 /src/calcurse.c
parenta63c74892085e6bd5ea8b88712f44d1567ce7ed3 (diff)
downloadcalcurse-5352496984d550bd441b12a082d5a382c168cbe2.zip
Added wrappers around libc's memory management functions, to easily debug memory usage
Diffstat (limited to 'src/calcurse.c')
-rwxr-xr-xsrc/calcurse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 451d616..67253b9 100755
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -1,4 +1,4 @@
-/* $calcurse: calcurse.c,v 1.73 2008/12/20 19:27:31 culot Exp $ */
+/* $calcurse: calcurse.c,v 1.74 2008/12/28 13:13:59 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -24,13 +24,13 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif /* HAVE_CONFIG_H */
-
#include <stdlib.h>
#include <signal.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#include "i18n.h"
#include "io.h"
#include "help.h"
@@ -86,7 +86,7 @@ main (int argc, char **argv)
*/
non_interactive = parse_args (argc, argv, &conf);
if (non_interactive)
- return (EXIT_SUCCESS);
+ exit_calcurse (EXIT_SUCCESS);
/* Begin of interactive mode with ncurses interface. */
sigs_init (&sigact); /* signal handling init */