diff options
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r-- | protocols/Gadu-Gadu/src/avatar.cpp | 2 | ||||
-rw-r--r-- | protocols/Gadu-Gadu/src/image.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/avatar.cpp b/protocols/Gadu-Gadu/src/avatar.cpp index c6b49157fd..f3d2b87807 100644 --- a/protocols/Gadu-Gadu/src/avatar.cpp +++ b/protocols/Gadu-Gadu/src/avatar.cpp @@ -40,7 +40,7 @@ void GGPROTO::getAvatarFilename(HANDLE hContact, TCHAR *pszDest, int cbLen) }
if (_taccess(pszDest, 0)) {
- int ret = CallService(MS_UTILS_CREATEDIRTREET, 0, (LPARAM)pszDest);
+ int ret = CreateDirectoryTreeT(pszDest);
if (ret == 0){
netlog("getAvatarFilename(): Created new directory for avatar cache: %S.", pszDest);
} else {
diff --git a/protocols/Gadu-Gadu/src/image.cpp b/protocols/Gadu-Gadu/src/image.cpp index 4bb12b042b..da9104004b 100644 --- a/protocols/Gadu-Gadu/src/image.cpp +++ b/protocols/Gadu-Gadu/src/image.cpp @@ -826,7 +826,7 @@ int GGPROTO::img_displayasmsg(HANDLE hContact, void *img) }
if ( _taccess(szPath, 0)){
- int ret = CallService(MS_UTILS_CREATEDIRTREET, 0, (LPARAM)szPath);
+ int ret = CreateDirectoryTreeT(szPath);
if (ret == 0){
netlog("img_displayasmsg(): Created new directory for image cache: %S.", szPath);
} else {
|