From 820c8c29bb33f56f9b28023b3e70314b829d7b03 Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 9 Feb 2012 12:19:05 +0000 Subject: [PATCH] laz2_dom: fixed range check git-svn-id: trunk@35266 - --- components/lazutils/laz2_dom.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lazutils/laz2_dom.pas b/components/lazutils/laz2_dom.pas index b8183b4292..cbe4188220 100644 --- a/components/lazutils/laz2_dom.pas +++ b/components/lazutils/laz2_dom.pas @@ -1998,7 +1998,7 @@ begin end; end; end; - SortedIndex := -1; + SortedIndex := High(SortedIndex)-1; Result := False; end;