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

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

commit f97d1c3644cb3e486e7d62f6da276f048c93e26c
Author: Mathieu Schroeter <math...@schroetersa.ch>
Date:   Wed Dec 13 23:01:48 2017 +0100

    Check that the zoom (-z) is in the range
---
 src/blupi.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/blupi.cxx b/src/blupi.cxx
index 7ea1505..515d38d 100644
--- a/src/blupi.cxx
+++ b/src/blupi.cxx
@@ -641,6 +641,8 @@ parseArgs (int argc, char * argv[], bool & exit)
   if (args["zoom"])
   {
     g_windowScale = args["zoom"];
+    if (g_windowScale != 1 && g_windowScale != 2)
+      g_windowScale = 1;
     g_settingsOverload |= SETTING_ZOOM;
   }
 

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

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to