summaryrefslogtreecommitdiff
path: root/src/wins.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/wins.c
parente6b1cf4b7ea80062a0ef575b97752b5de729b9e9 (diff)
downloadcalcurse-ff60394c8e42d44e27dbde963db8b226d4cb164e.zip
error handling while in ncurses mode improved
Diffstat (limited to 'src/wins.c')
-rwxr-xr-xsrc/wins.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wins.c b/src/wins.c
index 17b6230..be375ab 100755
--- a/src/wins.c
+++ b/src/wins.c
@@ -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 */
}