summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src')
-rw-r--r--plugins/Clist_nicer/src/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_nicer/src/config.cpp b/plugins/Clist_nicer/src/config.cpp
index 185affedf0..dbbf58a4ba 100644
--- a/plugins/Clist_nicer/src/config.cpp
+++ b/plugins/Clist_nicer/src/config.cpp
@@ -342,7 +342,7 @@ HMODULE Utils::loadSystemLibrary(const TCHAR* szFilename, bool useGetHandle)
throw(CRTException("Error while loading system library", szFilename));
sysPathName[MAX_PATH - 1] = 0;
- if (_tcslen(sysPathName) + _tcslen(szFilename) >= MAX_PATH)
+ if (mir_tstrlen(sysPathName) + mir_tstrlen(szFilename) >= MAX_PATH)
throw(CRTException("Error while loading system library", szFilename));
mir_tstrcat(sysPathName, szFilename);