summaryrefslogtreecommitdiff
path: root/plugins/FlashAvatars/src/cflash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FlashAvatars/src/cflash.cpp')
-rw-r--r--plugins/FlashAvatars/src/cflash.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/FlashAvatars/src/cflash.cpp b/plugins/FlashAvatars/src/cflash.cpp
index 89bc12cf33..3049d04fff 100644
--- a/plugins/FlashAvatars/src/cflash.cpp
+++ b/plugins/FlashAvatars/src/cflash.cpp
@@ -199,6 +199,7 @@ static void __cdecl loadFlash_Thread(void *p) {
fgd.cbSize = sizeof(FOLDERSGETDATA);
fgd.nMaxPathSize = MAX_PATH;
fgd.szPathT = path;
+ fgd.flags = FF_TCHAR;
if (!hAvatarsFolder || CallService(MS_FOLDERS_GET_PATH, (WPARAM)hAvatarsFolder, (LPARAM)&fgd)) {
if(ServiceExists(MS_UTILS_REPLACEVARS)) {
TCHAR *tmpPath = Utils_ReplaceVarsT(_T("%miranda_avatarcache%"));