mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
Merge branch 'master' of github.com:tildearrow/furnace
This commit is contained in:
commit
76e583e5ce
3 changed files with 0 additions and 6 deletions
Binary file not shown.
BIN
demos/multichip/collab.fur
Normal file
BIN
demos/multichip/collab.fur
Normal file
Binary file not shown.
|
@ -2157,15 +2157,9 @@ void FurnaceGUI::delFirstBackup(String name) {
|
|||
return strcmp(a.c_str(),b.c_str())<0;
|
||||
});
|
||||
|
||||
logV("prior backups of %s:",name);
|
||||
for (String& i: listOfFiles) {
|
||||
logV("- %s",i);
|
||||
}
|
||||
|
||||
int totalDelete=((int)listOfFiles.size())-5;
|
||||
for (int i=0; i<totalDelete; i++) {
|
||||
String toDelete=backupPath+String(DIR_SEPARATOR_STR)+listOfFiles[i];
|
||||
logV("deleting %s",listOfFiles[i]);
|
||||
deleteFile(toDelete.c_str());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue