From 3d45e8dcccdb8b38ab6edb0411b7852e85f9fe64 Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Sun, 6 Jun 2021 13:50:43 +0200 Subject: [PATCH] Fix macos build --- common/settings/common_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/settings/common_settings.cpp b/common/settings/common_settings.cpp index e4d2a9e4db..42f7f3404e 100644 --- a/common/settings/common_settings.cpp +++ b/common/settings/common_settings.cpp @@ -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( aCfg, "ShowEnvVarWarningDialog", "environment.show_warning_dialog" );