summaryrefslogtreecommitdiff
path: root/plugins/AVS
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-22 15:07:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-22 15:07:26 +0000
commitb9d4564d0fd90716cfa6ccfb4bb034a5ca9d64c6 (patch)
tree47c7b474aa9e4a65016e0422fbbce9ea96d5bc7f /plugins/AVS
parent62ee678fc4b2a6dc27cfe823b89e631de01d8e78 (diff)
- rare crash fix in Smileys;
- fix for the empty menu item's name in MenuItemEx - typo in AVS git-svn-id: http://svn.miranda-ng.org/main/trunk@6587 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS')
-rw-r--r--plugins/AVS/src/cache.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/AVS/src/cache.cpp b/plugins/AVS/src/cache.cpp
index 846ec14013..9ca7415ba9 100644
--- a/plugins/AVS/src/cache.cpp
+++ b/plugins/AVS/src/cache.cpp
@@ -270,12 +270,11 @@ void PicLoader(LPVOID param)
ace_temp.hbmPic = 0;
int result = CreateAvatarInCache(node->ace.hContact, &ace_temp, NULL);
-
if (result == -2) {
char *szProto = GetContactProto(node->ace.hContact);
if (szProto == NULL || Proto_NeedDelaysForAvatars(szProto))
QueueAdd(node->ace.hContact);
- else if (FetchAvatarFor(node->ace.hContact, szProto) == GAIR_SUCCESS) // Try yo create again
+ else if (FetchAvatarFor(node->ace.hContact, szProto) == GAIR_SUCCESS) // Try to create again
result = CreateAvatarInCache(node->ace.hContact, &ace_temp, NULL);
}