diff options
author | Frederic Culot <calcurse@culot.org> | 2007-08-04 14:34:03 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-08-04 14:34:03 +0000 |
commit | ff60394c8e42d44e27dbde963db8b226d4cb164e (patch) | |
tree | 4fd58d2f27abf9690ecbd4ce2a72f9563813c649 /src/day.c | |
parent | e6b1cf4b7ea80062a0ef575b97752b5de729b9e9 (diff) | |
download | calcurse-ff60394c8e42d44e27dbde963db8b226d4cb164e.tar.gz calcurse-ff60394c8e42d44e27dbde963db8b226d4cb164e.zip |
error handling while in ncurses mode improved
Diffstat (limited to 'src/day.c')
-rwxr-xr-x | src/day.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 */ } /* |