Преглед на файлове

--- Merging r14425 into '.':
U rtl/inc/heap.inc
--- Merging r14425 into 'packages/unzip/src/unzip51g.pp':
G packages/unzip/src/unzip51g.pp
--- Merging r14425 into '.':
G .

git-svn-id: tags/release_2_4_0@14427 -

marco преди 15 години
родител
ревизия
2648e25030
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      rtl/inc/heap.inc

+ 1 - 1
rtl/inc/heap.inc

@@ -949,7 +949,7 @@ begin
   iter := high(iter);
   while assigned(pcurr) and (iter>0) do
   begin
-    if (pcurr^.size>size) then
+    if (pcurr^.size>=size) then
     begin
       if not assigned(pbest) or (pcurr^.size<pbest^.size) then
       begin