about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-08-25 23:30:10 +0100
committerJames Booth <boothj5@gmail.com>2013-08-25 23:30:10 +0100
commit38be98cde5a13140f1095bfb05793fee2fe5cea3 (patch)
tree93f36576cd82cea912c2dbdb7e1e4534e3ba95d1
parentd3cfeb9d5cac0520d43dbf35e36d9364c35a95e5 (diff)
downloadprofani-tty-38be98cde5a13140f1095bfb05793fee2fe5cea3.tar.gz
Fix console references after merging master
-rw-r--r--src/ui/console.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 65711b48..b7c833e0 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -611,6 +611,8 @@ cons_show_bookmarks(const GList *list)
     while (list != NULL) {
         item = list->data;
 
+        ProfWin *console = wins_get_console();
+
         win_print_time(console, '-');
         wprintw(console->win, "  %s", item->jid);
         if (item->nick != NULL) {
@@ -623,7 +625,7 @@ cons_show_bookmarks(const GList *list)
         list = g_list_next(list);
     }
 
-    ui_console_dirty();
+    wins_refresh_console();
     cons_alert();
 }