From 8295c686e9b8be8cc041d8503a27c1c1c617d49b Mon Sep 17 00:00:00 2001 From: Andrea Odetti Date: Sun, 9 Jul 2017 16:49:40 +0100 Subject: [PATCH] Clarify where 35:24 comes from. Signed-off-by: Andrea Odetti --- source/frontends/qapple/emulator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/frontends/qapple/emulator.cpp b/source/frontends/qapple/emulator.cpp index 8028be4c..5ff685a9 100644 --- a/source/frontends/qapple/emulator.cpp +++ b/source/frontends/qapple/emulator.cpp @@ -36,8 +36,8 @@ void Emulator::set43AspectRatio(QMdiSubWindow * window) const QSize & size = video->size(); const double area = size.height() * size.width(); - const int numerator = 35; - const int denominator = 24; + const int numerator = 35; // 7 * 40 + const int denominator = 24; // 8 * 24 const int x = sqrt(area / (numerator * denominator)); const QSize target(numerator * x, denominator * x);