summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/ieview_main.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-16 11:50:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-16 11:50:58 +0000
commita1a305735072f66fc48de018d187ded085ecf89b (patch)
tree269b620466453a480d732bdff4eda68fdf84eab1 /plugins/IEView/src/ieview_main.cpp
parent2a1cd0326fa6a54d7cfee9187fbe4f7849c55620 (diff)
own UTF8Encode removed. now use core encoding.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4064 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/ieview_main.cpp')
-rw-r--r--plugins/IEView/src/ieview_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/IEView/src/ieview_main.cpp b/plugins/IEView/src/ieview_main.cpp
index 8462e0189d..ebebe01351 100644
--- a/plugins/IEView/src/ieview_main.cpp
+++ b/plugins/IEView/src/ieview_main.cpp
@@ -62,7 +62,7 @@ extern "C" int __declspec(dllexport) Load(void)
TCHAR *workingDir = new TCHAR[wdsize];
GetCurrentDirectory(wdsize, workingDir);
Utils::convertPath(workingDir);
- workingDirUtf8 = Utils::UTF8Encode(workingDir);
+ workingDirUtf8 = mir_utf8encodeT(workingDir);
delete workingDir;
GetModuleFileNameA(hInstance, text, sizeof(text));
@@ -106,7 +106,7 @@ extern "C" int __declspec(dllexport) Unload(void)
Utils::destroyServices_Ex();
DestroyHookableEvent(hHookOptionsChanged);
IEView::release();
- delete workingDirUtf8;
+ mir_free(workingDirUtf8);
free( ieviewModuleName );
return 0;
}