From d41cade3acb5037a6500e30afbcc5a69255b31d0 Mon Sep 17 00:00:00 2001 From: gixxpunk Date: Thu, 23 Jun 2016 19:09:08 +0200 Subject: [PATCH] fontscaling: force users with old 112% scaling to new 105% Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b69e362dae4ad30acb1227be71e1898f4fa8394e Author: gixxpunk Date: 2016-06-23 (Thu, 23 Jun 2016) Origin message was: ------------------ - fontscaling: force users with old 112% scaling to new 105% ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/neutrino.cpp | 8 ++++++++ version_pseudo.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 15944fcb3..14fc5c416 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -993,6 +993,14 @@ void CNeutrinoApp::upgradeSetup(const char * fname) configfile.setString("usermenu_tv_yellow", g_settings.usermenu[SNeutrinoSettings::BUTTON_YELLOW]->items); } } + else if (g_settings.version_pseudo < "20160623110000") + { + if (g_settings.screen_xres == 112) + g_settings.screen_xres = 105; + + if (g_settings.screen_yres == 112) + g_settings.screen_yres = 105; + } g_settings.version_pseudo = NEUTRINO_VERSION_PSEUDO; configfile.setString("version_pseudo", g_settings.version_pseudo); diff --git a/version_pseudo.h b/version_pseudo.h index 56e5e0b75..a5988f7d5 100644 --- a/version_pseudo.h +++ b/version_pseudo.h @@ -1 +1 @@ -#define NEUTRINO_VERSION_PSEUDO "20160226110000" +#define NEUTRINO_VERSION_PSEUDO "20160623110000"