mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
rosterwin: remove duplicate if
This commit is contained in:
parent
f76deea14e
commit
dac6d088d0
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user