1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Rename window in ui_handle_error_message

This commit is contained in:
James Booth 2013-10-06 23:28:11 +01:00
parent e2161d8acc
commit 4c64169d5b

View File

@ -367,8 +367,8 @@ ui_handle_error_message(const char * const from, const char * const err_msg)
if (err_msg == NULL) { if (err_msg == NULL) {
cons_show_error("Unknown error received from service."); cons_show_error("Unknown error received from service.");
} else { } else {
ProfWin *win = wins_get_current(); ProfWin *current = wins_get_current();
gboolean handled = win->handle_error_message(win, from, err_msg); gboolean handled = current->handle_error_message(current, from, err_msg);
if (handled != TRUE) { if (handled != TRUE) {
cons_show_error("Error received from server: %s", err_msg); cons_show_error("Error received from server: %s", err_msg);
} }