diff libpurple/ft.c @ 29871:ce52e101844a

Scale incoming thumbnails in the request dialog if they are overly large WLM seems to send animations in some situations as a series of frames "encoded" in a wide PNG...
author Marcus Lundblad <ml@update.uu.se>
date Mon, 03 May 2010 20:23:17 +0000
parents afc9cec164e4
children 1cdae196aac8
line wrap: on
line diff
--- a/libpurple/ft.c	Mon May 03 05:02:30 2010 +0000
+++ b/libpurple/ft.c	Mon May 03 20:23:17 2010 +0000
@@ -521,7 +521,7 @@
 		if ((thumb = purple_xfer_get_thumbnail(xfer, &thumb_size))) {
 			purple_request_accept_cancel_with_icon(xfer, NULL, buf, NULL,
 				PURPLE_DEFAULT_ACTION_NONE, xfer->account, xfer->who, NULL,
-				thumb, thumb_size, xfer, 
+				thumb, thumb_size, xfer,
 				G_CALLBACK(purple_xfer_choose_file),
 				G_CALLBACK(cancel_recv_cb));
 		} else {