File diff r16430:b3f65f9bc976 → r16431:ec558deca9d7
src/terraform_gui.cpp
Show inline comments
 
@@ -370,13 +370,13 @@ Window *ShowTerraformToolbar(Window *lin
 
	DeleteWindowById(WC_SCEN_LAND_GEN, 0, true);
 
	w = AllocateWindowDescFront<TerraformToolbarWindow>(&_terraform_desc, 0);
 
	/* Align the terraform toolbar under the main toolbar. */
 
	w->top -= w->height;
 
	w->SetDirty();
 
	/* Put the linked toolbar to the left / right of it. */
 
	link->left = w->left + (_dynlang.text_dir == TD_RTL ? w->width : -link->width);
 
	link->left = w->left + (_current_text_dir == TD_RTL ? w->width : -link->width);
 
	link->top  = w->top;
 
	link->SetDirty();
 

	
 
	return w;
 
}