mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
ide: Fixed ide crashing on Find, F3 & file click #694
git-svn-id: svn://ultimatepp.org/upp/trunk@6966 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
83ffff4cb2
commit
f4d1f46422
2 changed files with 5 additions and 4 deletions
|
|
@ -80,6 +80,7 @@ void LineEdit::Paint0(Draw& w) {
|
|||
Point sc = sb;
|
||||
int ll = min(line.GetCount(), sz.cy / fsz.cy + sc.y + 1);
|
||||
int y = 0;
|
||||
sc.y = minmax(sc.y, 0, line.GetCount() - 1);
|
||||
cpos = GetPos(sc.y);
|
||||
cline = sc.y;
|
||||
sell -= cpos;
|
||||
|
|
|
|||
Loading…
Reference in a new issue