summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/ieview_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEView/src/ieview_main.cpp')
-rw-r--r--plugins/IEView/src/ieview_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/IEView/src/ieview_main.cpp b/plugins/IEView/src/ieview_main.cpp
index 852bc3ccaf..ecf69d2561 100644
--- a/plugins/IEView/src/ieview_main.cpp
+++ b/plugins/IEView/src/ieview_main.cpp
@@ -60,7 +60,7 @@ static int ModulesLoaded(WPARAM, LPARAM)
extern "C" int __declspec(dllexport) Load(void)
{
int wdsize = GetCurrentDirectory(0, NULL);
- TCHAR *workingDir = new TCHAR[wdsize];
+ wchar_t *workingDir = new wchar_t[wdsize];
GetCurrentDirectory(wdsize, workingDir);
Utils::convertPath(workingDir);
workingDirUtf8 = mir_utf8encodeT(workingDir);