summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 8fc7a4ea0..c2e9255c9 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -180,7 +180,7 @@ void ZoomInOrOutToCursorWindow(bool in, Window *w)
if ((in && vp->zoom == ZOOM_LVL_MIN) || (!in && vp->zoom == ZOOM_LVL_MAX))
return;
- Point pt = GetTileZoomCenterWindow(in,w);
+ Point pt = GetTileZoomCenterWindow(in, w);
if (pt.x != -1) {
ScrollWindowTo(pt.x, pt.y, w, true);