From 38ceeb41b7c6b5fb6e0f83f28c3da8f90cf05862 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 21 Dec 2009 18:13:43 +0000 Subject: [PATCH] (svn r18592) -Fix (r18591): argh... save after starting the commit :( --- src/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget.cpp b/src/widget.cpp index ab540927bc..a4c2338ddd 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -1605,7 +1605,7 @@ Scrollbar *NWidgetBackground::FindScrollbar(Window *w, bool allow_next) const * As we might have cases where the next widget in the array * is a non-Core widget (e.g. NWID_SELECTION) we first get * the base class and then dynamic_cast that. */ - const NWidgetCore *next_wid = dynamic_cast(w->GetWidget(this->index + 1)); + const NWidgetCore *next_wid = dynamic_cast(w->GetWidget(this->index + 1)); if (next_wid != NULL) return next_wid->FindScrollbar(w, false); } return NULL;