diff options
-rw-r--r-- | plugins/AvatarHistory/src/utils.cpp | 2 |
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);
|