From e8ea4ea80d49fab21c3caeb9ecdffad397fbcb27 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sat, 14 Mar 2020 23:37:18 +0100 Subject: [PATCH] Revert "add one more intermediate font option to ROM info viewer" This reverts commit 1aaea36d2534fabeed7f40374810b1c28f85e7aa. Now the correct file. :) --- src/gui/LauncherDialog.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/LauncherDialog.cxx b/src/gui/LauncherDialog.cxx index d57892f38..eaa0bf608 100644 --- a/src/gui/LauncherDialog.cxx +++ b/src/gui/LauncherDialog.cxx @@ -374,6 +374,10 @@ const GUI::Font& LauncherDialog::getRomInfoFont(const Common::Size& area) const + MIN_ROMINFO_LINES * instance().frameBuffer().launcherFont().getFontHeight()) && area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().launcherFont().getMaxCharWidth())) return instance().frameBuffer().launcherFont(); + else if(area.h >= uInt32(MIN_ROMINFO_ROWS * instance().frameBuffer().font().getLineHeight() + + MIN_ROMINFO_LINES * instance().frameBuffer().font().getFontHeight()) + && area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().font().getMaxCharWidth())) + return instance().frameBuffer().font(); else if(area.h >= uInt32(MIN_ROMINFO_ROWS * instance().frameBuffer().infoFont().getLineHeight() + MIN_ROMINFO_LINES * instance().frameBuffer().infoFont().getFontHeight()) && area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().infoFont().getMaxCharWidth()))