aboutsummaryrefslogtreecommitdiffstats
path: root/src/day.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/day.c
parente6b1cf4b7ea80062a0ef575b97752b5de729b9e9 (diff)
downloadcalcurse-ff60394c8e42d44e27dbde963db8b226d4cb164e.tar.gz
calcurse-ff60394c8e42d44e27dbde963db8b226d4cb164e.zip
error handling while in ncurses mode improved
Diffstat (limited to 'src/day.c')
-rwxr-xr-xsrc/day.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/day.c b/src/day.c
index c00c150..8537f01 100755
--- a/src/day.c
+++ b/src/day.c
@@ -1,4 +1,4 @@
-/* $calcurse: day.c,v 1.26 2007/07/29 20:59:09 culot Exp $ */
+/* $calcurse: day.c,v 1.27 2007/08/04 14:34:03 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -387,10 +387,9 @@ void day_popup_item(void)
day_saved_item->type == RECUR_APPT)
item_in_popup(day_saved_item->start, day_saved_item->end,
day_saved_item->mesg, _("Appointment :"));
- else { /* NOT REACHED */
- fputs(error, stderr);
- exit(EXIT_FAILURE);
- }
+ else
+ ierror(error);
+ /* NOTREACHED */
}
/*