summaryrefslogtreecommitdiffstats
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-08-04 14:34:03 +0000
committerFrederic Culot <calcurse@culot.org>2007-08-04 14:34:03 +0000
commitff60394c8e42d44e27dbde963db8b226d4cb164e (patch)
tree4fd58d2f27abf9690ecbd4ce2a72f9563813c649 /src/calcurse.c
parente6b1cf4b7ea80062a0ef575b97752b5de729b9e9 (diff)
downloadcalcurse-ff60394c8e42d44e27dbde963db8b226d4cb164e.tar.gz
calcurse-ff60394c8e42d44e27dbde963db8b226d4cb164e.zip
error handling while in ncurses mode improved
Diffstat (limited to 'src/calcurse.c')
-rwxr-xr-xsrc/calcurse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 95edc0f..63466a5 100755
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -1,4 +1,4 @@
-/* $calcurse: calcurse.c,v 1.52 2007/07/29 20:59:09 culot Exp $ */
+/* $calcurse: calcurse.c,v 1.53 2007/08/04 14:34:03 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -472,13 +472,13 @@ main(int argc, char **argv)
status_mesg(_(quit_message), choices);
ch = wgetch(swin);
if ( ch == 'y' )
- exit_calcurse();
+ exit_calcurse(EXIT_SUCCESS);
else {
erase_status_bar();
break;
}
} else
- exit_calcurse();
+ exit_calcurse(EXIT_SUCCESS);
break;
}