diff src/main_gui.cpp @ 15552:683f2dbe75bb draft

(svn r20211) -Codechange: Indented code should have curly braces around it.
author alberth <alberth@openttd.org>
date Sat, 24 Jul 2010 10:14:39 +0000 (2010-07-24)
parents 995eaf7f493c
children e4640748f223
line wrap: on
line diff
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -180,8 +180,7 @@
 
 	if (_game_mode != GM_MENU) {
 		ViewPort *vp = w->viewport;
-		if ((in && vp->zoom == ZOOM_LVL_MIN) || (!in && vp->zoom == ZOOM_LVL_MAX))
-			return;
+		if ((in && vp->zoom == ZOOM_LVL_MIN) || (!in && vp->zoom == ZOOM_LVL_MAX)) return;
 
 		Point pt = GetTileZoomCenterWindow(in, w);
 		if (pt.x != -1) {