ide: Fixed to compile with GCC

git-svn-id: svn://ultimatepp.org/upp/trunk@7640 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-09-05 07:34:41 +00:00
parent c637a566d8
commit d6be115165
3 changed files with 3 additions and 3 deletions

View file

@ -235,7 +235,7 @@ void TextCompareCtrl::Paint(Draw& draw)
paper = SColorHighlight;
}
draw.DrawRect(0, y, sz.cx, letter.cy, paper);
WString ln = l.text;
WString ln = l.text.ToWString();
if(ln.GetCount() > 20000)
ln.Trim(20000);
ln = ExpandTabs(ln);