1
0
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:
Panagiotis Vasilopoulos 2021-08-15 16:48:18 +03:00
parent c51b450d6c
commit 12c9f5434a
No known key found for this signature in database
GPG Key ID: FD806FDB3B2C5270

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;
}