Changeset 192 for oup/current/DataAccess
- Timestamp:
- May 24, 2007, 7:48:18 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/DataAccess/Access_OniArchive.pas
r173 r192 53 53 54 54 uses 55 SysUtils, StrUtils, Data, Functions, RawList, DatLinks ;55 SysUtils, StrUtils, Data, Functions, RawList, DatLinks, Math; 56 56 57 57 … … 560 560 fmOpenReadWrite); 561 561 Fraw_file.Seek(raw_info.RawAddr, soFromBeginning); 562 Fraw_file.CopyFrom(Src, raw_info.RawSize);562 Fraw_file.CopyFrom(Src, Min(raw_info.RawSize, Src.Size)); 563 563 if UnloadWhenUnused then 564 564 begin
Note:
See TracChangeset
for help on using the changeset viewer.