error handling while in ncurses mode improved

This commit is contained in:
Frederic Culot
2007-08-04 14:34:03 +00:00
parent e6b1cf4b7e
commit ff60394c8e
7 changed files with 41 additions and 56 deletions

View File

@@ -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 */
}