From 0aad754c524950f27bac4d9ef9a786eeff73492c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 24 Jun 2015 15:36:52 +0000 Subject: set maximum size by default, not 0 git-svn-id: http://svn.miranda-ng.org/main/trunk@14364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AVS/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/AVS/src/utils.cpp b/plugins/AVS/src/utils.cpp index c59c8a9499..6b2ffdeb4b 100644 --- a/plugins/AVS/src/utils.cpp +++ b/plugins/AVS/src/utils.cpp @@ -315,7 +315,7 @@ int Proto_AvatarImageProportion(const char *proto) void Proto_GetAvatarMaxSize(const char *proto, int *width, int *height) { if (ProtoServiceExists(proto, PS_GETAVATARCAPS)) { - POINT maxSize = { 0 }; + POINT maxSize = { 300, 300 }; CallProtoService(proto, PS_GETAVATARCAPS, AF_MAXSIZE, (LPARAM)&maxSize); *width = maxSize.x; *height = maxSize.y; -- cgit v1.2.3