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:
cxl 2013-02-18 15:32:46 +00:00
parent 02544bc7ac
commit 3d8fceaa87

View file

@ -422,6 +422,9 @@ void EditorBar::ClearErrors(int line)
line = 0;
count = li.GetCount();
}
else
if(line >= li.GetCount())
return;
else
count = line + 1;