summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msgdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r--plugins/Scriver/src/msgdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index 52840bd307..ecb1b77b01 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -55,7 +55,7 @@ static TCHAR* GetIEViewSelection(SrmmWindowData *dat)
static TCHAR* GetQuotedTextW(TCHAR *text)
{
- size_t i, j, l = wcslen(text);
+ size_t i, j, l = mir_wstrlen(text);
int newLine = 1;
int wasCR = 0;
for (i = j = 0; i < l; i++) {