Changeset - r15778:42ad824325a7
[Not reviewed]
master
0 1 0
frosch - 14 years ago 2010-08-12 09:47:48
frosch@openttd.org
(svn r20462) -Fix (r20452): Initialise scrollbar_index with -1 to indicate 'no scrollbar associated'.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/widget.cpp
Show inline comments
 
@@ -782,6 +782,7 @@ NWidgetCore::NWidgetCore(WidgetType tp, 
 
	this->index = -1;
 
	this->widget_data = widget_data;
 
	this->tool_tip = tool_tip;
 
	this->scrollbar_index = -1;
 
}
 

	
 
/**
0 comments (0 inline, 0 general)