rosterwin: remove duplicate if
This commit is contained in:
@@ -370,9 +370,6 @@ _rosterwin_contact(ProfLayoutSplit *layout, PContact contact)
|
|||||||
int colour;
|
int colour;
|
||||||
if (prefs_get_boolean(PREF_ROSTER_COLOR_NICK)) {
|
if (prefs_get_boolean(PREF_ROSTER_COLOR_NICK)) {
|
||||||
colour = theme_hash_attrs(name);
|
colour = theme_hash_attrs(name);
|
||||||
}
|
|
||||||
|
|
||||||
if (prefs_get_boolean(PREF_ROSTER_COLOR_NICK)) {
|
|
||||||
wattron(layout->subwin, colour);
|
wattron(layout->subwin, colour);
|
||||||
} else {
|
} else {
|
||||||
wattron(layout->subwin, theme_attrs(presence_colour));
|
wattron(layout->subwin, theme_attrs(presence_colour));
|
||||||
|
|||||||
Reference in New Issue
Block a user