From b9d4564d0fd90716cfa6ccfb4bb034a5ca9d64c6 Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Tue, 22 Oct 2013 15:07:26 +0000
Subject: - 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
---
 plugins/AVS/src/cache.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'plugins/AVS')

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);
 				}
 
-- 
cgit v1.2.3