1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fix console references after merging master

This commit is contained in:
James Booth 2013-08-25 23:30:10 +01:00
parent d3cfeb9d5c
commit 38be98cde5

View File

@ -611,6 +611,8 @@ cons_show_bookmarks(const GList *list)
while (list != NULL) { while (list != NULL) {
item = list->data; item = list->data;
ProfWin *console = wins_get_console();
win_print_time(console, '-'); win_print_time(console, '-');
wprintw(console->win, " %s", item->jid); wprintw(console->win, " %s", item->jid);
if (item->nick != NULL) { if (item->nick != NULL) {
@ -623,7 +625,7 @@ cons_show_bookmarks(const GList *list)
list = g_list_next(list); list = g_list_next(list);
} }
ui_console_dirty(); wins_refresh_console();
cons_alert(); cons_alert();
} }