Fix macos build

This commit is contained in:
Dominik Sliwa 2021-06-06 13:50:43 +02:00 committed by Jon Evans
parent f923649801
commit 3d45e8dccc
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ bool COMMON_SETTINGS::MigrateFromLegacy( wxConfigBase* aCfg )
// and was set to 1.0. In v6, the setting is now used by OSX and should default to automatic
// scaling.
#ifdef __WXMAC__
( *this )[PointerFromString( "appearance.canvas_scale" )] = 0.0;
Set( "appearance.canvas_scale", 0.0 );
#endif
ret &= fromLegacy<bool>( aCfg, "ShowEnvVarWarningDialog", "environment.show_warning_dialog" );