From 3e1aaa1235850da566b86bd003e99491e32c5569 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 24 Nov 2011 18:55:56 +0000 Subject: (svn r23321) -Fix (r23316): Extra viewports and waypoint detail opened up at wrong zoom level. --- src/waypoint_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/waypoint_gui.cpp') diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp index 0ece60177..e3bb01ae8 100644 --- a/src/waypoint_gui.cpp +++ b/src/waypoint_gui.cpp @@ -76,7 +76,7 @@ public: this->flags4 |= WF_DISABLE_VP_SCROLL; NWidgetViewport *nvp = this->GetWidget(WAYPVW_VIEWPORT); - nvp->InitializeViewport(this, this->GetCenterTile(), ZOOM_LVL_MIN); + nvp->InitializeViewport(this, this->GetCenterTile(), ZOOM_LVL_VIEWPORT); this->OnInvalidateData(0); } -- cgit v1.2.3-54-g00ecf