Mercurial > pidgin
diff src/protocols/msn/msn.c @ 5068:b37d7d09ec83
[gaim-migrate @ 5419]
logout icons
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Mon, 07 Apr 2003 23:17:27 +0000 |
| parents | 7e5f449de3b8 |
| children | 381da05cb5ed |
line wrap: on
line diff
--- a/src/protocols/msn/msn.c Mon Apr 07 20:08:57 2003 +0000 +++ b/src/protocols/msn/msn.c Mon Apr 07 23:17:27 2003 +0000 @@ -1593,7 +1593,7 @@ static void msn_list_emblems(struct buddy *b, char **se, char **sw, char **nw, char **ne) { - if (b->present == 0) + if (b->present == GAIM_BUDDY_OFFLINE) *se = "offline"; else if (b->uc >> 1 == 2 || b->uc >> 1 == 6) *se = "occupied"; @@ -1643,7 +1643,7 @@ } static char *msn_tooltip_text(struct buddy *b) { - if (b->present) + if (GAIM_BUDDY_IS_ONLINE(b)) return g_strdup_printf(_("<b>Status:</b> %s"), msn_get_away_text(b->uc >> 1)); return NULL;
