changeset 24096:cae676ac3c70

2008.10.27 - ccpaging <ccpaging(at)gmail.com> * Fixed a bug in buddy_info.c 2008.10.28 - flos <lonicerae(at)gmail.com> * Updated AUTHORS
author SHiNE CsyFeK <csyfek@gmail.com>
date Tue, 28 Oct 2008 16:48:36 +0000
parents 2a19984c0005
children e4f4ffd7ed4c
files libpurple/protocols/qq/AUTHORS libpurple/protocols/qq/ChangeLog libpurple/protocols/qq/buddy_info.c
diffstat 3 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/qq/AUTHORS	Tue Oct 28 16:47:06 2008 +0000
+++ b/libpurple/protocols/qq/AUTHORS	Tue Oct 28 16:48:36 2008 +0000
@@ -35,4 +35,5 @@
 khc@pidgin.im
 qulogic@pidgin.im
 rlaager@pidgin.im
+Huang Guan	: http://home.xxsyzx.com
 OpenQ Google Group	: http://groups.google.com/group/openq
--- a/libpurple/protocols/qq/ChangeLog	Tue Oct 28 16:47:06 2008 +0000
+++ b/libpurple/protocols/qq/ChangeLog	Tue Oct 28 16:48:36 2008 +0000
@@ -1,3 +1,9 @@
+2008.10.28 - flos <lonicerae(at)gmail.com>
+	* Updated AUTHORS
+
+2008.10.27 - ccpaging <ccpaging(at)gmail.com>
+	* Fixed a bug in buddy_info.c
+
 2008.10.27 - ccpaging <ccpaging(at)gmail.com>
 	* Update 'buddy_adding' protocol
 
--- a/libpurple/protocols/qq/buddy_info.c	Tue Oct 28 16:47:06 2008 +0000
+++ b/libpurple/protocols/qq/buddy_info.c	Tue Oct 28 16:48:36 2008 +0000
@@ -550,7 +550,7 @@
 	gchar *icon_name;
 
 	icon = face / 3 + 1;
-	if (face < 1 || face > QQ_FACES) {
+	if (icon < 1 || icon > QQ_FACES) {
 		icon = 1;
 	}
 
@@ -597,6 +597,8 @@
 	purple_debug_info("QQ", "Update %s icon to %d\n", who, face);
 
 	icon_name = qq_get_icon_name(face);
+	purple_debug_info("QQ", "icon file name is %s\n", icon_name);
+
 	if ((buddy = purple_find_buddy(account, who))) {
 		icon_name_prev = purple_buddy_icons_get_checksum_for_user(buddy);
 		if (icon_name_prev != NULL) {