summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-01 21:55:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-01 21:55:47 +0000
commit12012a3ea4d58c6624f8065c2ca2afb96090b70f (patch)
tree47e60353bc84f956e1c71241ef563c54dbc8765b /plugins/SmileyAdd/src
parentb2269a81668efaf157d541f2ffd67e52b89417c6 (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 'plugins/SmileyAdd/src')
-rw-r--r--plugins/SmileyAdd/src/download.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/download.cpp b/plugins/SmileyAdd/src/download.cpp
index 5ac7acfc59..ead34551a4 100644
--- a/plugins/SmileyAdd/src/download.cpp
+++ b/plugins/SmileyAdd/src/download.cpp
@@ -75,7 +75,7 @@ bool InternetDownloadFile(const char *szUrl, char* szDest, HANDLE &hHttpDwnl)
{
char* delim = strrchr(szDest, '\\');
if (delim) *delim = '\0';
- CallService(MS_UTILS_CREATEDIRTREE, 0, (LPARAM)szDest);
+ CreateDirectoryTree(szDest);
if (delim) *delim = '\\';
int res = -1;
int fh = _open(szDest, _O_BINARY | _O_WRONLY | _O_CREAT, _S_IREAD | _S_IWRITE);