1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-01 22:53:50 +01:00

Detect Audacity.Project files

The conditions that were affected by this change were also split across
multiple lines to improve formatting.

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: 4408d96ff5
Reference-to: https://github.com/tenacityteam/tenacity/pull/482
This commit is contained in:
Panagiotis Vasilopoulos
2021-08-15 16:48:18 +03:00
parent c51b450d6c
commit 12c9f5434a

View File

@@ -2244,7 +2244,10 @@ void AudacityApp::AssociateFileTypes() {
};
// Check for legacy and UP types
if (IsDefined(wxT(".aup3")) && IsDefined(wxT(".aup")) && IsDefined(wxT("Tenacity.Project"))) {
if (IsDefined(wxT(".aup3"))
&& IsDefined(wxT(".aup"))
&& IsDefined(wxT("Tenacity.Project"))
&& IsDefined(wxT("Audacity.Project"))) {
// Already defined, so bail
return;
}