diff libpurple/protocols/oscar/libicq.c @ 32052:bfb4b66953b4

Fix setting icons with dimensions greater than 64x64 pixels by scaling them down to at most 64x64. (#12874, #13165)
author Mark Doliner <mark@kingant.net>
date Wed, 11 May 2011 09:29:47 +0000
parents 0cf50b0f7af4
children cd1d9e04c587
line wrap: on
line diff
--- a/libpurple/protocols/oscar/libicq.c	Wed May 11 07:50:55 2011 +0000
+++ b/libpurple/protocols/oscar/libicq.c	Wed May 11 09:29:47 2011 +0000
@@ -41,7 +41,7 @@
 	OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE | OPT_PROTO_INVITE_MESSAGE,
 	NULL,					/* user_splits */
 	NULL,					/* protocol_options */
-	{"gif,jpeg,bmp,ico", 0, 0, 100, 100, 7168, PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */
+	{"gif,jpeg,bmp,ico", 0, 0, 64, 64, 7168, PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */
 	oscar_list_icon_icq,		/* list_icon */
 	oscar_list_emblem,		/* list_emblems */
 	oscar_status_text,		/* status_text */