From 94cd8526f2a760181ede630cb363d9ae8891e34f Mon Sep 17 00:00:00 2001 From: Gerald Schmidt Date: Mon, 17 Dec 2007 21:35:12 +0000 Subject: [PATCH] Indicators should now clear as intended. --- src/xmlctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmlctrl.cpp b/src/xmlctrl.cpp index 6d8b5eb..7c4bede 100755 --- a/src/xmlctrl.cpp +++ b/src/xmlctrl.cpp @@ -2113,7 +2113,7 @@ void XmlCtrl::setErrorIndicator ( int line, int column ) void XmlCtrl::clearErrorIndicators ( int maxLine ) { - if ( maxLine < 1 ) + if ( maxLine < 0 ) return; int documentLength = GetLength();