summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-10-03 20:11:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-10-03 20:11:54 +0300
commit2859081c36402ea7fcbbe4e52799b62e7537ffbf (patch)
tree0c14b8e958225ee94d3d3433c64e61c7ce04d6bc /plugins/Scriver/src
parent20760db2aec15c20b4fd8a9db7f4112f8c0cf6ce (diff)
fixes #1607 (Scriver silently cuts long messages)
Diffstat (limited to 'plugins/Scriver/src')
-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 96bf1e24fc..4b11aea221 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -266,7 +266,7 @@ bool CSrmmWindow::OnInitDialog()
if (m_hContact && m_szProto) {
int nMax = CallProtoService(m_szProto, PS_GETCAPS, PFLAG_MAXLENOFMESSAGE, m_hContact);
if (nMax)
- m_message.SendMsg(EM_LIMITTEXT, nMax, 0);
+ m_message.SendMsg(EM_EXLIMITTEXT, 0, nMax);
}
// get around a lame bug in the Windows template resource code where richedits are limited to 0x7FFF