2
0
Эх сурвалжийг харах

* patch from mantis 34851 committed. use size in bits to set result of openbit instead of a fsize*32.

git-svn-id: trunk@41185 -
marco 6 жил өмнө
parent
commit
91fd2396fc

+ 1 - 1
rtl/objpas/classes/bits.inc

@@ -107,7 +107,7 @@ begin
    end;
    end;
 
 
    if FSize < MaxBitRec then
    if FSize < MaxBitRec then
-     result := FSize * 32;  {first bit of next record}
+     result := FBSize;  {first bit of next record}
 end;
 end;
 
 
 { ******************** TBits ***************************** }
 { ******************** TBits ***************************** }