From 2496e539856a6a85b8be9e54210f568d48cc0f88 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Wed, 20 Sep 2017 06:43:36 +0200 Subject: [PATCH] Use "zoom" instead of "scale" for config.json setting --- src/blupi.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blupi.cxx b/src/blupi.cxx index a894583..109cb44 100644 --- a/src/blupi.cxx +++ b/src/blupi.cxx @@ -154,9 +154,9 @@ ReadConfig () g_bFullScreen = 1; } - if (!(g_settingsOverload & SETTING_ZOOM) && j.find ("scale") != j.end ()) + if (!(g_settingsOverload & SETTING_ZOOM) && j.find ("zoom") != j.end ()) { - g_windowScale = j["scale"].get (); + g_windowScale = j["zoom"].get (); if (g_windowScale != 0) g_windowScale = 1; }