diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 80585493ba..4709a0a2e6 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -464,7 +464,7 @@ void CSrmmWindow::onClick_Ok(CCtrlButton *pButton) GETTEXTEX gt = { 0 };
gt.flags = GT_USECRLF;
- gt.cb = bufSize;
+ gt.cb = bufSize * sizeof(wchar_t);
gt.codepage = 1200; // Unicode
m_message.SendMsg(EM_GETTEXTEX, (WPARAM)>, ptszUnicode);
if (RTL_Detect(ptszUnicode))
|