From df0afdf0dca6b3d4f621248ada2aed73d7481c66 Mon Sep 17 00:00:00 2001 From: truebrain Date: Thu, 15 Dec 2011 19:54:23 +0000 Subject: (svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable) -Codechange: rename Window::flags4 to Window::flags -Codechange: move some non-inline functions from .hpp to .cpp --- 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 e3bb01ae8..673ddfd3b 100644 --- a/src/waypoint_gui.cpp +++ b/src/waypoint_gui.cpp @@ -73,7 +73,7 @@ public: this->FinishInitNested(desc, window_number); if (this->wp->owner != OWNER_NONE) this->owner = this->wp->owner; - this->flags4 |= WF_DISABLE_VP_SCROLL; + this->flags |= WF_DISABLE_VP_SCROLL; NWidgetViewport *nvp = this->GetWidget(WAYPVW_VIEWPORT); nvp->InitializeViewport(this, this->GetCenterTile(), ZOOM_LVL_VIEWPORT); -- cgit v1.2.3-70-g09d2