1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-20 15:41:18 +01:00

File name check bypassed if extension is blank

The file name check should happen in all cases.
This commit is contained in:
Leland Lucius
2020-03-26 13:45:26 -05:00
parent 9f076b5179
commit b7088b5648

View File

@@ -720,7 +720,8 @@ bool Exporter::GetFilename()
mFilename.SetExt(defext);
}
else if (!mPlugins[mFormat]->CheckFileName(mFilename, mSubFormat))
if (!mPlugins[mFormat]->CheckFileName(mFilename, mSubFormat))
{
continue;
}