From f567bc9b6789cddb8100bc478ee25b053be8f684 Mon Sep 17 00:00:00 2001 From: toni Date: Sat, 23 Jul 2016 22:49:08 +0200 Subject: cleanup --- src/ui_elements.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ui_elements.c') diff --git a/src/ui_elements.c b/src/ui_elements.c index 40bfeb3..94bff5c 100644 --- a/src/ui_elements.c +++ b/src/ui_elements.c @@ -25,7 +25,6 @@ static struct input *pw_input; static struct anic *heartbeat; static struct statusbar *higher, *lower; static struct txtwindow *infownd; -static struct tctwindow *errwnd; static char *title = NULL; static char busy_str[BSTR_LEN+1] = ".\0\0\0"; @@ -60,14 +59,14 @@ infownd_update(WINDOW *win, struct txtwindow *tw, bool ui_timeout) } void -show_info_wnd(struct txtwindow *wnd, char *title, char *text, chtype fore, chtype back, bool activate, bool blink) +show_info_wnd(struct txtwindow *wnd, char *_title, char *text, chtype fore, chtype back, bool activate, bool blink) { ui_thrd_suspend(); deactivate_input(pw_input); set_txtwindow_active(wnd, activate); set_txtwindow_blink(wnd, blink); set_txtwindow_color(wnd, fore, back); - set_txtwindow_title(wnd, title); + set_txtwindow_title(wnd, _title); set_txtwindow_text(wnd, text); ui_thrd_resume(); ui_thrd_force_update(false); -- cgit v1.2.3