From dbfac56e82bc4feb9e83e12be561c7cc44b41613 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 21 Jan 2013 23:03:23 +0000 Subject: revert git-svn-id: http://svn.miranda-ng.org/main/trunk@3222 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/utils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp index 5af9172397..34f1914e6d 100644 --- a/plugins/TabSRMM/src/utils.cpp +++ b/plugins/TabSRMM/src/utils.cpp @@ -47,8 +47,8 @@ HANDLE CWarning::hWindowList = 0; static TCHAR *w_bbcodes_begin[] = { _T("[b]"), _T("[i]"), _T("[u]"), _T("[s]"), _T("[color=") }; static TCHAR *w_bbcodes_end[] = { _T("[/b]"), _T("[/i]"), _T("[/u]"), _T("[/s]"), _T("[/color]") }; -static TCHAR *formatting_strings_begin[] = { _T("b1 "), _T("i1 "), _T("u1 "), _T("s1 "), _T("c1 ") }; -static TCHAR *formatting_strings_end[] = { _T("b0 "), _T("i0 "), _T("u0 "), _T("s0 "), _T("c0 ") }; +static TCHAR *formatting_strings_begin[] = { _T("b1 "), _T("i1 "), _T("u1 "), _T("s1 "), _T("c1 ") }; +static TCHAR *formatting_strings_end[] = { _T("b0 "), _T("i0 "), _T("u0 "), _T("s0 "), _T("c0 ") }; #define NR_CODES 5 @@ -204,10 +204,10 @@ search_again: closing = beginmark + 7 + lstrlen(rtf_ctable[ii].szName); if (endmark != message.npos) { message.erase(endmark, 4); - message.replace(endmark, 4, _T("c0 ")); + message.replace(endmark, 4, _T("c0 ")); } message.erase(beginmark, (closing - beginmark)); - message.insert(beginmark, _T("cxxx ")); + message.insert(beginmark, _T("cxxx ")); _sntprintf(szTemp, 4, _T("%02d"), MSGDLGFONTCOUNT + 13 + ii); message[beginmark + 3] = szTemp[0]; message[beginmark + 4] = szTemp[1]; -- cgit v1.2.3