diff options
Diffstat (limited to 'plugins/YAMN/src/main.cpp')
-rw-r--r-- | plugins/YAMN/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp index 14b1a8af9c..369940ae67 100644 --- a/plugins/YAMN/src/main.cpp +++ b/plugins/YAMN/src/main.cpp @@ -220,7 +220,7 @@ static void LoadPlugins() continue; // we have a dot - int len = lstrlen(fd.cFileName); // find the length of the string + int len = mir_tstrlen(fd.cFileName); // find the length of the string TCHAR* end = fd.cFileName+len; // get a pointer to the NULL int safe = (end-dot)-1; // figure out how many chars after the dot are "safe", not including NULL |