diff --git a/gui/extend_edit.cc b/gui/extend_edit.cc index 5e123234d..41ff59d6c 100644 --- a/gui/extend_edit.cc +++ b/gui/extend_edit.cc @@ -111,8 +111,8 @@ extend_edit_gui_t::extend_edit_gui_t(const char *name, player_t* player_) : cont_scrolly.add_component(&info_text,2); // add object image cont_scrolly.add_component(&building_image); - cont_scrolly.new_component(true,false); - cont_scrolly.new_component_span(false,true,2); + //cont_scrolly.new_component(true,false); + //cont_scrolly.new_component_span(false,true,2); //end of layouting. Now fill elements // init scrolled list diff --git a/gui/factory_edit.cc b/gui/factory_edit.cc index 2a43d7090..dfe36d1d6 100644 --- a/gui/factory_edit.cc +++ b/gui/factory_edit.cc @@ -64,7 +64,7 @@ static bool compare_factory_desc_level_mail(const factory_desc_t* a, const facto static bool compare_factory_desc_date_intro(const factory_desc_t* a, const factory_desc_t* b) { int diff = a->get_building()->get_intro_year_month() - b->get_building()->get_intro_year_month(); - if ( diff = 0) { + if ( diff == 0) { diff = strcmp(a->get_name(), b->get_name()); } return diff < 0; @@ -72,7 +72,7 @@ static bool compare_factory_desc_date_intro(const factory_desc_t* a, const facto static bool compare_factory_desc_date_retire(const factory_desc_t* a, const factory_desc_t* b) { int diff = a->get_building()->get_retire_year_month() - b->get_building()->get_retire_year_month(); - if ( diff = 0) { + if ( diff == 0) { diff = strcmp(a->get_name(), b->get_name()); } return diff < 0; diff --git a/gui/station_building_select.cc b/gui/station_building_select.cc index fc462e774..d5cd5cf47 100644 --- a/gui/station_building_select.cc +++ b/gui/station_building_select.cc @@ -18,10 +18,10 @@ static const char label_text[4][64] = { - "sued", - "ost", - "nord", - "west" +"[0] south-facing", +"[1] east-facing", +"[2] north-facing", +"[3] west-facing" };