Sfoglia il codice sorgente

* fixed typo

git-svn-id: trunk@4473 -
florian 19 anni fa
parent
commit
5660a9e875
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      rtl/inc/objects.pp

+ 1 - 1
rtl/inc/objects.pp

@@ -2222,7 +2222,7 @@ BEGIN
    L := 0;                                            { Start count }
    L := 0;                                            { Start count }
    H := Count - 1;                                    { End count }
    H := Count - 1;                                    { End count }
    Index := 0;
    Index := 0;
-   if H<=0 then
+   if Count=0 then
      exit;
      exit;
    While (L <= H) Do Begin
    While (L <= H) Do Begin
      I := (L + H) SHR 1;                              { Mid point }
      I := (L + H) SHR 1;                              { Mid point }