summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-04-19 19:07:53 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-04-19 19:07:53 +0000
commit5a54097bdfc5a94ea7b1f282d12c0fc1155ec7d5 (patch)
tree60b8b6efe64318ddbbda4fc34242c38ba25e7bf0
parent4469c87bad5e857c873b7bc47fd8daa6a326b37a (diff)
ooops
git-svn-id: http://svn.miranda-ng.org/main/trunk@4478 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/AvatarHistory/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AvatarHistory/src/utils.cpp b/plugins/AvatarHistory/src/utils.cpp
index 5d91ab94ab..388a2e85d5 100644
--- a/plugins/AvatarHistory/src/utils.cpp
+++ b/plugins/AvatarHistory/src/utils.cpp
@@ -145,7 +145,7 @@ TCHAR* GetContactFolder(TCHAR *fn, HANDLE hContact)
TCHAR uin[MAX_PATH];
GetUIDFromHContact(hContact, uin, SIZEOF(uin));
- ConvertToFilename(uin, sizeof(uin)); //added so that weather id's like "yw/CI0000" work
+ ConvertToFilename(uin, MAX_PATH); //added so that weather id's like "yw/CI0000" work
mir_sntprintf(fn, MAX_PATH, _T("%s\\%s"), fn, uin);
CreateDirectoryTreeT(fn);