Changeset 131 for oup/current
- Timestamp:
- Mar 28, 2007, 3:20:26 AM (18 years ago)
- Location:
- oup/current
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Helper/LevelDB.pas
r130 r131 152 152 ShowMessage('Couldn''t delete file. Aborting'); 153 153 Exit; 154 end else if not DeleteFile(AnsiReplaceStr(Target, '.dat', '.raw')) then 155 begin 156 ShowMessage('Couldn''t delete file. Aborting'); 157 Exit; 158 end else if Connection.DataOS in [DOS_WINDEMO, DOS_MAC, DOS_MACBETA] then 159 begin 160 if not DeleteFile(AnsiReplaceStr(Target, '.dat', '.sep')) then 154 end; 155 if FileExists(AnsiReplaceStr(Target, '.dat', '.raw')) then 156 if not DeleteFile(AnsiReplaceStr(Target, '.dat', '.raw')) then 161 157 begin 162 158 ShowMessage('Couldn''t delete file. Aborting'); 163 159 Exit; 164 160 end; 165 end; 161 if FileExists(AnsiReplaceStr(Target, '.dat', '.sep')) then 162 if Connection.DataOS in [DOS_WINDEMO, DOS_MAC, DOS_MACBETA] then 163 if not DeleteFile(AnsiReplaceStr(Target, '.dat', '.sep')) then 164 begin 165 ShowMessage('Couldn''t delete file. Aborting'); 166 Exit; 167 end; 166 168 end else begin 167 169 ShowMessage('Aborting');
Note:
See TracChangeset
for help on using the changeset viewer.