Changeset - r20061:eb5845ecfce0
[Not reviewed]
master
0 1 0
rubidium - 12 years ago 2013-02-17 20:48:52
rubidium@openttd.org
(svn r25019) -Fix: GCC doesn't seem to care if one does Class::Class::Function (thinks it is a function), whereas MSVC thinks it is the constructor
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/smallmap_gui.cpp
Show inline comments
 
@@ -1013,13 +1013,13 @@ uint SmallMapWindow::GetLegendHeight(uin
 
		case WID_SM_CAPTION:
 
			SetDParam(0, STR_SMALLMAP_TYPE_CONTOURS + this->map_type);
 
			break;
 
	}
 
}
 

	
 
/* virtual */ void SmallMapWindow::SmallMapWindow::OnInit()
 
/* virtual */ void SmallMapWindow::OnInit()
 
{
 
	uint min_width = 0;
 
	this->min_number_of_columns = INDUSTRY_MIN_NUMBER_OF_COLUMNS;
 
	this->min_number_of_fixed_rows = 0;
 
	for (uint i = 0; i < lengthof(_legend_table); i++) {
 
		uint height = 0;
0 comments (0 inline, 0 general)