about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-03 11:41:13 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-02-03 11:41:13 +0100
commitc73d70171bd86afff13c386dca34d55d57bac50c (patch)
treebc5d5230d756cc8b42aabf6e1d0de76098bcf49b /src/ui
parent266aef93386ff5e263b9b5c5b68b954afe0ca68d (diff)
downloadprofani-tty-c73d70171bd86afff13c386dca34d55d57bac50c.tar.gz
rosterwin: end correct colors
Actually presence_colour should be stopped there.
Thanks to rumin-miller for finding this.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/rosterwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c
index afdb83b7..4806f8b7 100644
--- a/src/ui/rosterwin.c
+++ b/src/ui/rosterwin.c
@@ -413,7 +413,7 @@ _rosterwin_contact(ProfLayoutSplit *layout, PContact contact)
             wattron(layout->subwin, theme_attrs(presence_colour));
             win_sub_print(layout->subwin, unreadmsg->str, FALSE, wrap, current_indent);
             g_string_free(unreadmsg, TRUE);
-            wattroff(layout->subwin, theme_attrs(colour));
+            wattroff(layout->subwin, theme_attrs(presence_colour));
         }
 
         _rosterwin_presence(layout, presence, status, current_indent);