mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
[WIN32] Correctly read default value of wxRegKey entry. (#456)
Fix this build error with GCC: ../../audacity/src/AudacityApp.cpp:2347:62: error: call of overloaded 'wxString(wxRegKey&)' is ambiguous.
This commit is contained in:
parent
5580ff9d2e
commit
e59bfcc872
@ -2261,7 +2261,7 @@ void AudacityApp::AssociateFileTypes()
|
||||
associateFileTypes.SetName(root_key + wxT("Audacity.Project\\shell\\open\\command"));
|
||||
wxString tmpRegAudPath;
|
||||
if(associateFileTypes.Exists()) {
|
||||
tmpRegAudPath = wxString(associateFileTypes).Lower();
|
||||
tmpRegAudPath = associateFileTypes.QueryDefaultValue().Lower();
|
||||
}
|
||||
if (!associateFileTypes.Exists() ||
|
||||
(tmpRegAudPath.Find(wxT("audacity.exe")) >= 0)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user