diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp --- a/src/waypoint_gui.cpp +++ b/src/waypoint_gui.cpp @@ -145,7 +145,7 @@ static const WindowDesc _waypoint_view_d WDP_AUTO, WDP_AUTO, 260, 118, 260, 118, WC_WAYPOINT_VIEW, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, - NULL, _nested_waypoint_view_widgets, lengthof(_nested_waypoint_view_widgets) + _nested_waypoint_view_widgets, lengthof(_nested_waypoint_view_widgets) ); void ShowWaypointWindow(const Waypoint *wp)