1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fixed colouring in room roster

This commit is contained in:
James Booth 2014-07-21 13:32:46 +01:00
parent 1273d850a4
commit 56457de997

View File

@ -1490,10 +1490,10 @@ _ui_room_roster(const char * const room, GList *roster, const char * const prese
const char *show = p_contact_presence(member); const char *show = p_contact_presence(member);
int presence_colour = win_presence_colour(show); int presence_colour = win_presence_colour(show);
win_save_vprint(window, '!', NULL, NO_DATE | NO_EOL, COLOUR_ONLINE|presence_colour, "", "%s", nick); win_save_vprint(window, '!', NULL, NO_DATE | NO_EOL, presence_colour, "", "%s", nick);
if (roster->next != NULL) { if (roster->next != NULL) {
win_save_print(window, '!', NULL, NO_DATE | NO_EOL, COLOUR_ONLINE, "", ", "); win_save_print(window, '!', NULL, NO_DATE | NO_EOL, 0, "", ", ");
} }
roster = g_list_next(roster); roster = g_list_next(roster);