diff options
Diffstat (limited to 'plugins/PluginUpdater/src/Events.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index 1afbe741cc..ea4c6e8ddf 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -24,7 +24,7 @@ HANDLE hPluginUpdaterFolder; int OnFoldersChanged(WPARAM, LPARAM)
{
FoldersGetCustomPathT(hPluginUpdaterFolder, g_tszRoot, MAX_PATH, L"");
- size_t len = _tcslen(g_tszRoot);
+ size_t len = wcslen(g_tszRoot);
if (g_tszRoot[len-1] == '\\' || g_tszRoot[len-1] == '/')
g_tszRoot[len-1] = 0;
return 0;
|