Patch level :2.1 26
Files correlati :ve5.exe Ricompilazione Demo : [ ] Commento : bug 0000096 (vedi commit precedente) git-svn-id: svn://10.65.10.50/trunk@11979 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
84930bf98a
commit
a8593f23e0
@ -228,7 +228,6 @@ void TArchive_doc::ripristina(const TMask& m)
|
||||
orig << SLASH << name;
|
||||
dest << name;
|
||||
fcopy(orig, dest);
|
||||
xvt_fsys_removefile(orig); //elimina il file di origine dopo averlo copiato
|
||||
}
|
||||
}
|
||||
|
||||
@ -270,7 +269,20 @@ void TArchive_doc::ripristina(const TMask& m)
|
||||
error_box("Errore %d ricevendo il file DOCUMENTI.",err);
|
||||
}
|
||||
delete_tmp_files(TRUE); // Removes temp files!
|
||||
doc.close();
|
||||
doc.close();
|
||||
|
||||
//elimina i files creati sulla root di un eventuale unita' fissa
|
||||
if (!xvt_fsys_is_removable_drive(unit))
|
||||
{
|
||||
for (int i = 0; i<= 1; i++)
|
||||
{
|
||||
TFilename file_to_erease = unit;
|
||||
const char * name = i == 0 ? "backup.ini" : "ve.z00";
|
||||
file_to_erease << name;
|
||||
xvt_fsys_removefile(file_to_erease);;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
error_box("Errore nella ricezione dei file da dischetto. Nessun documento ricevuto.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user