From 11ed6f5a89abfba04a68e4447b21c4c6d2752588 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 15 Nov 2017 14:36:23 +0300 Subject: tabSRMM: fix for hangup on inserted percent sign --- plugins/TabSRMM/src/msgdlgutils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3