diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-01 21:55:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-01 21:55:47 +0000 |
commit | 12012a3ea4d58c6624f8065c2ca2afb96090b70f (patch) | |
tree | 47e60353bc84f956e1c71241ef563c54dbc8765b /protocols/Gadu-Gadu | |
parent | b2269a81668efaf157d541f2ffd67e52b89417c6 (diff) |
service call replaced with helper
git-svn-id: http://svn.miranda-ng.org/main/trunk@3825 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu')
-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 {
|