summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-15 14:36:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-15 14:36:23 +0300
commit11ed6f5a89abfba04a68e4447b21c4c6d2752588 (patch)
tree697f2be88506ae5343c48baf0c2a89b3818b668a /plugins/TabSRMM/src
parent1e208187fe09bdc663b1087af19a23c71c0986db (diff)
tabSRMM: fix for hangup on inserted percent sign
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp
index cbafe51bb0..fab938ac8b 100644
--- a/plugins/TabSRMM/src/msgdlgutils.cpp
+++ b/plugins/TabSRMM/src/msgdlgutils.cpp
@@ -1007,7 +1007,8 @@ BOOL CTabBaseDlg::DoRtfToTags(CMStringW &pszText) const
if (isChat())
res.Append(L"%%");
else
- res.AppendChar(*p++);
+ res.AppendChar(*p);
+ p++;
break;
default: // other text that should not be touched