aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-12-07 09:20:38 +0000
committerFrederic Culot <calcurse@culot.org>2008-12-07 09:20:38 +0000
commit639058740a44c6380258e0152f9916af1e53bb27 (patch)
tree4a011f1eef9f925740c9d0e701258e580ce65b9f /src/utils.c
parentcf5617e3378fc4c6089195c83fac0f8a7acb84fe (diff)
downloadcalcurse-639058740a44c6380258e0152f9916af1e53bb27.tar.gz
calcurse-639058740a44c6380258e0152f9916af1e53bb27.zip
Checks added while loading key bindings configuration.
Diffstat (limited to 'src/utils.c')
-rwxr-xr-xsrc/utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils.c b/src/utils.c
index 2b8e5e1..31a4bf4 100755
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,4 +1,4 @@
-/* $calcurse: utils.c,v 1.54 2008/11/23 20:38:56 culot Exp $ */
+/* $calcurse: utils.c,v 1.55 2008/12/07 09:20:38 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -86,7 +86,7 @@ ierror (const char *errmsg, ierror_sev_e sev)
exitmsg);
custom_remove_attr (errwin, ATTR_HIGHEST);
wrefresh (errwin);
- keys_getch (errwin);
+ (void)wgetch (errwin);
if (sev == IERROR_FATAL)
exit_calcurse (EXIT_FAILURE);
}
@@ -118,7 +118,7 @@ warnbox (const char *msg)
warnwin = popup (WINROW, WINCOL, (row - WINROW) / 2, (col - WINCOL) / 2,
"/!\\", displmsg, 1);
wrefresh (warnwin);
- keys_getch (warnwin);
+ (void)wgetch (warnwin);
delwin (warnwin);
doupdate ();
}
@@ -758,7 +758,7 @@ item_in_popup (char *saved_a_start, char *saved_a_end, char *msg,
wmove (win[STA].p, 0, 0);
pnoutrefresh (pad, 0, 0, margin_top + 2, margin_left, padl, winw);
doupdate ();
- keys_getch (popup_win);
+ (void)wgetch (popup_win);
delwin (pad);
delwin (popup_win);
}