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/wins.c | |
parent | e6b1cf4b7ea80062a0ef575b97752b5de729b9e9 (diff) | |
download | calcurse-ff60394c8e42d44e27dbde963db8b226d4cb164e.zip |
error handling while in ncurses mode improved
Diffstat (limited to 'src/wins.c')
-rwxr-xr-x | src/wins.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $Id: wins.c,v 1.3 2007/07/28 13:11:43 culot Exp $ */ +/* $Id: wins.c,v 1.4 2007/08/04 14:34:03 culot Exp $ */ /* * Calcurse - text-based organizer @@ -321,9 +321,7 @@ wins_update(conf_t *conf, window_t *winbar, window_t *winapp, window_t *wintod, break; default: - fputs(_("FATAL ERROR in wins_update: no window selected\n"), - stderr); - exit(EXIT_FAILURE); + ierror(_("FATAL ERROR in wins_update: no window selected\n")); /* NOTREACHED */ } |