| 176 |  | newsize := mem.Size; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 177 |  | mem.Seek(0, soFromBeginning); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 178 |  |  | 
 
 
 
 
 
 
 
 
 
 
 | 179 | < | if (newsize > old_size) and (ConManager.Connection[ConnectionID].Backend = DB_ONI) then | 
 
 
 
 
 
 
 
 
 | 179 | > | if (newsize > old_size) and (ConManager.Connection[ConnectionID].Backend in [DB_ONI, DB_ONISPLIT]) then | 
 
 
 
 
 
 
 
 
 
 
 | 180 |  | new_rawaddr := ConManager.Connection[ConnectionID].AppendRawFile( | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 181 |  | not (ConManager.Connection[ConnectionID].DataOS = DOS_WIN), mem) | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 182 |  | else | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 189 |  | oldfading := oldfading or $01 | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 190 |  | else | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 191 |  | oldfading := oldfading and (not Byte($01)); | 
 
 
 
 
 
 
 
 
 
 
 | 192 | < | ConManager.Connection[ConnectionID].UpdateDatFilePart(fileid, $88, 1, @datbyte); | 
 
 
 
 
 
 
 
 
 | 192 | > | ConManager.Connection[ConnectionID].UpdateDatFilePart(fileid, $88, 1, @oldfading); | 
 
 
 
 
 
 
 
 
 
 
 | 193 |  | datbyte := $10; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 194 |  | //    if check_transparency.Checked then | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 195 |  | //      datbyte := datbyte or $04; |