From c16dead108c4560b0d14e0702008b8509e7cfd04 Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 12 Aug 2010 09:47:48 +0000 Subject: (svn r20462) -Fix (r20452): Initialise scrollbar_index with -1 to indicate 'no scrollbar associated'. --- src/widget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widget.cpp b/src/widget.cpp index f89ec1213..53d8a77d8 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -782,6 +782,7 @@ NWidgetCore::NWidgetCore(WidgetType tp, Colours colour, uint fill_x, uint fill_y this->index = -1; this->widget_data = widget_data; this->tool_tip = tool_tip; + this->scrollbar_index = -1; } /** -- cgit v1.2.3-70-g09d2