diff options
author | James Booth <boothj5@gmail.com> | 2013-10-06 23:28:11 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-10-06 23:28:11 +0100 |
commit | 4c64169d5b56e94185a8722563a52b55fe4b754f (patch) | |
tree | 924abff351b53073ae64d3f29e66c76b30541963 /src/ui/core.c | |
parent | e2161d8acc07e822d473a83a26d0c1077568e1f5 (diff) | |
download | profani-tty-4c64169d5b56e94185a8722563a52b55fe4b754f.tar.gz |
Rename window in ui_handle_error_message
Diffstat (limited to 'src/ui/core.c')
-rw-r--r-- | src/ui/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index d5418cef..eaca033f 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -367,8 +367,8 @@ ui_handle_error_message(const char * const from, const char * const err_msg) if (err_msg == NULL) { cons_show_error("Unknown error received from service."); } else { - ProfWin *win = wins_get_current(); - gboolean handled = win->handle_error_message(win, from, err_msg); + ProfWin *current = wins_get_current(); + gboolean handled = current->handle_error_message(current, from, err_msg); if (handled != TRUE) { cons_show_error("Error received from server: %s", err_msg); } |