diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-01 22:52:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-01 22:52:26 +0000 |
commit | 427891e0d28becb428ae8435954399f2e4daa9fe (patch) | |
tree | d4ec79359e9b35293c3ff7ca25ccda6fd71f23b4 /plugins/IEView/src/Utils.cpp | |
parent | ec4498ee255a018ccb16061de4594618e7ab5690 (diff) |
service call replaced with helper: MS_UTILS_PATHTOABSOLUTEW
git-svn-id: http://svn.miranda-ng.org/main/trunk@3827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/Utils.cpp')
-rw-r--r-- | plugins/IEView/src/Utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/IEView/src/Utils.cpp b/plugins/IEView/src/Utils.cpp index 5c52ae696a..d9a3f85043 100644 --- a/plugins/IEView/src/Utils.cpp +++ b/plugins/IEView/src/Utils.cpp @@ -30,7 +30,7 @@ HANDLE* Utils::hServices = NULL; const wchar_t *Utils::getBaseDir() {
char temp[MAX_PATH];
base_dir[0] = '\0';
- long tlen = CallService(MS_UTILS_PATHTOABSOLUTE, (WPARAM)"miranda32.exe", (LPARAM)temp);
+ long tlen = PathToAbsolute("miranda32.exe", temp);
if (tlen) {
temp[tlen - 13]=0;
MultiByteToWideChar(CP_ACP, 0, temp, (int)strlen(temp), base_dir, MAX_PATH);
|