[planetblupi] 43/61: Fix draw with large screen

Didier Raboud odyx at moszumanska.debian.org
Thu Nov 2 19:24:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit c4c10cb9b4957a540332d6b7a16c185325bef37f
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Fri Oct 13 16:04:08 2017 +0200

    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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git



More information about the Pkg-games-commits mailing list