src/protocols/msn/msn.c

changeset 5068
0d4c4df65dd0
parent 5022
74761823f580
child 5136
81079a81ebc6
--- 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;

mercurial