Update of /cvsroot/gaim/gaim/src/protocols/oscar
In directory usw-pr-cvs1:/tmp/cvs-serv20889/protocols/oscar
Modified Files:
oscar.c
Log Message:
This is not an advertisement and has nothing to do with who I work for. I promise. Its just about personal taste.
Index: oscar.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/oscar/oscar.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- oscar.c 2001/11/05 12:25:22 1.56
+++ oscar.c 2001/11/06 04:40:21 1.57
@@ -1545,7 +1545,8 @@
static char *images(int flags) {
static char buf[1024];
- g_snprintf(buf, sizeof(buf), "%s%s%s%s",
+ g_snprintf(buf, sizeof(buf), "%s%s%s%s%s",
+ (flags & AIM_FLAG_ACTIVEBUDDY) ? "<IMG SRC=\"ab_icon.gif\">" : "",
(flags & AIM_FLAG_UNCONFIRMED) ? "<IMG SRC=\"dt_icon.gif\">" : "",
(flags & AIM_FLAG_AOL) ? "<IMG SRC=\"aol_icon.gif\">" : "",
(flags & AIM_FLAG_ADMINISTRATOR) ? "<IMG SRC=\"admin_icon.gif\">" : "",
@@ -2462,10 +2463,10 @@
return icon_offline_xpm;
return icon_online_xpm;
}
- if (uc & UC_AB)
- return (char **)ab_xpm;
if (uc & UC_UNAVAILABLE)
return (char **)away_icon_xpm;
+ if ((uc & UC_AB) && (uc & UC_NORMAL))
+ return (char **)ab_xpm;
if (uc & UC_AOL)
return (char **)aol_icon_xpm;
if (uc & UC_ADMIN)
|