Browse Source

* 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 years ago
parent
commit
91fd2396fc
1 changed files with 1 additions and 1 deletions
  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 ***************************** }