From 12012a3ea4d58c6624f8065c2ca2afb96090b70f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 1 Mar 2013 21:55:47 +0000 Subject: service call replaced with helper git-svn-id: http://svn.miranda-ng.org/main/trunk@3825 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Gadu-Gadu/src/avatar.cpp | 2 +- protocols/Gadu-Gadu/src/image.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Gadu-Gadu') 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 { -- cgit v1.2.3