Changeset 173 for oup/current/Helper


Ignore:
Timestamp:
May 2, 2007, 3:19:40 PM (18 years ago)
Author:
alloc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • oup/current/Helper/LevelDB.pas

    r167 r173  
    239239    case Connection.DataOS of
    240240      DOS_WIN: DatHeader.OSIdent[i] := HeaderOSIdentWin[i];
    241       DOS_MAC: DatHeader.OSIdent[i] := HeaderOSIdentMac[i];
     241      DOS_MAC, DOS_WINDEMO: DatHeader.OSIdent[i] := HeaderOSIdentMac[i];
    242242      DOS_MACBETA: DatHeader.OSIdent[i] := HeaderOSIdentMacBeta[i];
    243243    end;
     
    280280      case Connection.DataOS of
    281281        DOS_WIN:     ExtensionsHeader[i].Ident := FileTypes[j].IdentWin;
    282         DOS_WINDEMO: ExtensionsHeader[i].Ident := FileTypes[j].IdentMac;
     282        DOS_WINDEMO:
     283            if FileTypes[j].Extension = 'SNDD' then
     284              ExtensionsHeader[i].Ident := FileTypes[j].IdentWin
     285            else
     286              ExtensionsHeader[i].Ident := FileTypes[j].IdentMac;
    283287        DOS_MAC:     ExtensionsHeader[i].Ident := FileTypes[j].IdentMac;
    284288        DOS_MACBETA: ExtensionsHeader[i].Ident := FileTypes[j].IdentMac;
     
    492496      DeleteFile(target);
    493497    end;
    494 end;
     498  end;
    495499
    496500
Note: See TracChangeset for help on using the changeset viewer.