mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-19 09:30:06 +02:00
Don't delete the _data dir - simplified version of Ed's patch.
This commit is contained in:
parent
d5393344c3
commit
9d77cd4638
@ -246,7 +246,7 @@ static int RecursivelyRemoveEmptyDirs(wxString dirPath,
|
||||
}
|
||||
}
|
||||
// Have to recheck dir.HasSubDirs() again, in case they all were deleted in recursive calls.
|
||||
if (!dir.HasSubDirs() && !dir.HasFiles())
|
||||
if (!dir.HasSubDirs() && !dir.HasFiles() && (dirPath.Right(5) != wxT("_data")))
|
||||
{
|
||||
// No subdirs or files. It's empty so delete it.
|
||||
// Vaughan, 2010-07-07:
|
||||
|
Loading…
x
Reference in New Issue
Block a user