From 5a54097bdfc5a94ea7b1f282d12c0fc1155ec7d5 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 19 Apr 2013 19:07:53 +0000 Subject: ooops git-svn-id: http://svn.miranda-ng.org/main/trunk@4478 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AvatarHistory/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AvatarHistory') 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); -- cgit v1.2.3