about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-17 16:47:52 +0100
committerGitHub <noreply@github.com>2020-02-17 16:47:52 +0100
commitb4c6470df41c639a2fd3b854c5fec10718709a89 (patch)
treea1a842b4463742441eed0e03da29f3191c8e3b83 /src
parent0089fbcf0a7bf3ba92fa2ba657c5e7d70e395ed7 (diff)
parentb267b065f5b4c6fef93cb6f26c59f2e5c7dc7342 (diff)
downloadprofani-tty-b4c6470df41c639a2fd3b854c5fec10718709a89.tar.gz
Merge pull request #1269 from wstrm/add-sr.ht-ci
Add builds.sr.ht CI for OpenBSD
Diffstat (limited to 'src')
-rw-r--r--src/ui/rosterwin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c
index 4806f8b7..1b4442f2 100644
--- a/src/ui/rosterwin.c
+++ b/src/ui/rosterwin.c
@@ -353,7 +353,7 @@ _rosterwin_contact(ProfLayoutSplit *layout, PContact contact)
     }
 
     theme_item_t presence_colour = _get_roster_theme(theme_type, presence);
-    int colour;
+    int colour = 0;
     if (prefs_get_boolean(PREF_ROSTER_COLOR_NICK)) {
         colour = theme_hash_attrs(name);
         wattron(layout->subwin, colour);
@@ -1290,4 +1290,3 @@ _filter_contacts_with_presence(GSList *contacts, const char *const presence)
 
     return filtered_contacts;
 }
-