summaryrefslogtreecommitdiff
path: root/plugins/PasteIt/src/PasteToWeb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PasteIt/src/PasteToWeb.cpp')
-rw-r--r--plugins/PasteIt/src/PasteToWeb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PasteIt/src/PasteToWeb.cpp b/plugins/PasteIt/src/PasteToWeb.cpp
index b674d55173..755285c8ca 100644
--- a/plugins/PasteIt/src/PasteToWeb.cpp
+++ b/plugins/PasteIt/src/PasteToWeb.cpp
@@ -281,7 +281,7 @@ void PasteToWeb::FromClipboard()
if (obj != NULL)
{
LPCSTR cStr = (LPCSTR)GlobalLock(obj);
- if (strlen(cStr) > str.length())
+ if (mir_strlen(cStr) > str.length())
{
str = L"";
LPWSTR wStr = mir_a2u_cp(cStr, CP_ACP);