ide: fixed to compile with CLANG

git-svn-id: svn://ultimatepp.org/upp/trunk@13487 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-07-11 21:59:43 +00:00
parent fa647184c1
commit 25deff1aba
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ Ctrl *Ctrl::GetTopCtrlFromId(int id)
int q = FindId(id);
if(q >= 0) {
Ctrl *p = wins[q].ctrl;
if(p && p->top)50
if(p && p->top)
return p;
}
return NULL;

View file

@ -144,7 +144,7 @@ String Patch::GetPatchedFile(int i) const
String path = GetPath(i);
if(FileExists(path)) {
String s = LoadFile(GetPath(i));
bool crlf = s.Find('\r') >= 0;
crlf = s.Find('\r') >= 0;
lines = Split(Filter(s, [](int c) { return c == '\r' ? 0 : c; }), '\n', false);
}