mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 23:59:41 +02: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: 4408d96ff505d9d75de997ed5ca483a5ea393da5 Reference-to: https://github.com/tenacityteam/tenacity/pull/482
This commit is contained in:
parent
c51b450d6c
commit
12c9f5434a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user