mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
ide: fixed to compile
git-svn-id: svn://ultimatepp.org/upp/trunk@13486 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f9383d37d2
commit
fa647184c1
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
if(p && p->top)50
|
||||
return p;
|
||||
}
|
||||
return NULL;
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ bool PatchDiff::Open(const char *patch_path, const Vector<String>& target_dirs)
|
|||
int PatchDiff::GetFileIndex() const
|
||||
{
|
||||
int ii = files.GetCursor();
|
||||
return ii >= 0 ? files.Get(ii).data : -1;
|
||||
return ii >= 0 ? (int)files.Get(ii).data : -1;
|
||||
}
|
||||
|
||||
void PatchDiff::File()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue