Indicators should now clear as intended.

This commit is contained in:
Gerald Schmidt 2007-12-17 21:35:12 +00:00
parent e1307b84a1
commit 94cd8526f2
1 changed files with 1 additions and 1 deletions

View File

@ -2113,7 +2113,7 @@ void XmlCtrl::setErrorIndicator ( int line, int column )
void XmlCtrl::clearErrorIndicators ( int maxLine ) void XmlCtrl::clearErrorIndicators ( int maxLine )
{ {
if ( maxLine < 1 ) if ( maxLine < 0 )
return; return;
int documentLength = GetLength(); int documentLength = GetLength();