From 1a294b05804421dd0d7c46015584c1638152c48c Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Sat, 28 Jun 2014 08:02:55 +0800 Subject: [PATCH] Fix trace output Based on TortoiseSVN revision 25618 Signed-off-by: Sup Yut Sum --- src/Utils/MiscUI/SciEdit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils/MiscUI/SciEdit.cpp b/src/Utils/MiscUI/SciEdit.cpp index aae1930e5..3068c9bd2 100644 --- a/src/Utils/MiscUI/SciEdit.cpp +++ b/src/Utils/MiscUI/SciEdit.cpp @@ -1223,7 +1223,7 @@ BOOL CSciEdit::MarkEnteredBugID(int startstylepos, int endstylepos) LONG matchedpos = 0; for (std::tr1::sregex_iterator it2(matchedString.begin(), matchedString.end(), regBugID); it2 != end; ++it2) { - ATLTRACE(_T("matched id : %s\n"), std::string((*it2)[0]).c_str()); + ATLTRACE("matched id : %s\n", std::string((*it2)[0]).c_str()); // bold style up to the id match ATLTRACE("position = %ld\n", it2->position(0)); @@ -1261,7 +1261,7 @@ BOOL CSciEdit::MarkEnteredBugID(int startstylepos, int endstylepos) // group 2 as the bug ID if (match.size() >= 2) { - ATLTRACE(_T("matched id : %s\n"), std::string(match[1]).c_str()); + ATLTRACE("matched id : %s\n", std::string(match[1]).c_str()); Call(SCI_SETSTYLING, match[1].first-s.begin()-pos, STYLE_ISSUEBOLD); Call(SCI_SETSTYLING, std::string(match[1]).size(), STYLE_ISSUEBOLDITALIC); pos = (LONG)(match[1].second-s.begin()); -- 2.11.4.GIT