diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-02-17 16:47:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 16:47:52 +0100 |
commit | b4c6470df41c639a2fd3b854c5fec10718709a89 (patch) | |
tree | a1a842b4463742441eed0e03da29f3191c8e3b83 /src | |
parent | 0089fbcf0a7bf3ba92fa2ba657c5e7d70e395ed7 (diff) | |
parent | b267b065f5b4c6fef93cb6f26c59f2e5c7dc7342 (diff) | |
download | profani-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.c | 3 |
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; } - |