From dac6d088d01e6359aa3c788cac924f062f1ab077 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 22 Jan 2020 09:30:09 +0100 Subject: [PATCH] rosterwin: remove duplicate if --- src/ui/rosterwin.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c index 026a7a21..8571baec 100644 --- a/src/ui/rosterwin.c +++ b/src/ui/rosterwin.c @@ -370,9 +370,6 @@ _rosterwin_contact(ProfLayoutSplit *layout, PContact contact) int colour; if (prefs_get_boolean(PREF_ROSTER_COLOR_NICK)) { colour = theme_hash_attrs(name); - } - - if (prefs_get_boolean(PREF_ROSTER_COLOR_NICK)) { wattron(layout->subwin, colour); } else { wattron(layout->subwin, theme_attrs(presence_colour));