From c4c10cb9b4957a540332d6b7a16c185325bef37f Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Fri, 13 Oct 2017 16:04:08 +0200 Subject: [PATCH] Fix draw with large screen --- src/decor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/decor.cxx b/src/decor.cxx index e110a2f..8b41db7 100644 --- a/src/decor.cxx +++ b/src/decor.cxx @@ -963,7 +963,7 @@ CDecor::BuildGround (Rect clip) iPos = ConvCelToPos (iCel); - nbx = (width / DIMCELX) + 1; + nbx = (width / DIMCELX) + 2; nby = (height / (DIMCELY / 2)) + 0; if (GetInfoHeight () != 0) @@ -1103,7 +1103,7 @@ CDecor::Build (Rect clip, Point posMouse) iPos = ConvCelToPos (iCel); - nbx = (width / DIMCELX) + 1; + nbx = (width / DIMCELX) + 2; nby = (height / (DIMCELY / 2)) + 0; if (GetInfoHeight () != 0)