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

@ -1,4 +1,4 @@
description "Simple address book application";
description "Simple address book application\377";
uses
CtrlLib,

View file

@ -2,7 +2,7 @@
#define _CodeEditor_icpp_init_stub
#include "CtrlLib/init"
#include "plugin/pcre/init"
#define BLITZ_INDEX__ F9714522c143037334ef92752f80fbeaa
#define BLITZ_INDEX__ F8defc3b59944b6f49a28a98ad6148c81
#include "CRegister.icpp"
#undef BLITZ_INDEX__
#endif

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);