Explorar o código

* 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 %!s(int64=6) %!d(string=hai) anos
pai
achega
91fd2396fc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/objpas/classes/bits.inc

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

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