mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-09 11:34:54 -06:00
CodeEditor: fixed issue with EditorBar::ClearErrors
git-svn-id: svn://ultimatepp.org/upp/trunk@5825 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
02544bc7ac
commit
3d8fceaa87
1 changed files with 3 additions and 0 deletions
|
|
@ -422,6 +422,9 @@ void EditorBar::ClearErrors(int line)
|
|||
line = 0;
|
||||
count = li.GetCount();
|
||||
}
|
||||
else
|
||||
if(line >= li.GetCount())
|
||||
return;
|
||||
else
|
||||
count = line + 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue