summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/image_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AVS/src/image_utils.cpp')
-rw-r--r--plugins/AVS/src/image_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AVS/src/image_utils.cpp b/plugins/AVS/src/image_utils.cpp
index 1f251954ed..f546a252e2 100644
--- a/plugins/AVS/src/image_utils.cpp
+++ b/plugins/AVS/src/image_utils.cpp
@@ -212,7 +212,7 @@ int BmpFilterSaveBitmap(HBITMAP hBmp, const TCHAR *ptszFile, int flags)
if (!PathToAbsoluteT(ptszFile, tszFilename))
_tcsncpy_s(tszFilename, ptszFile, _TRUNCATE);
- if (_tcslen(tszFilename) <= 4)
+ if (mir_tstrlen(tszFilename) <= 4)
return -1;
IMGSRVC_INFO i = { 0 };