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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user