summaryrefslogtreecommitdiff
path: root/plugins/AVS
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-24 15:36:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-24 15:36:52 +0000
commit0aad754c524950f27bac4d9ef9a786eeff73492c (patch)
tree18d0c6cfc5c9c2ea2f8218e56aff482ad0d4e455 /plugins/AVS
parent727a0432f5909ba54e6d15010fde94dff825fe5e (diff)
set maximum size by default, not 0
git-svn-id: http://svn.miranda-ng.org/main/trunk@14364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS')
-rw-r--r--plugins/AVS/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
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;