diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp index 795a177575..1aa46c3a11 100644 --- a/src/fios_gui.cpp +++ b/src/fios_gui.cpp @@ -362,7 +362,7 @@ public: if (item == this->selected) { GfxFillRect(r.left + 1, y, r.right, y + this->resize.step_height, PC_DARK_BLUE); } - DrawString(r.left + WD_FRAMERECT_LEFT, r.right - WD_FRAMERECT_RIGHT, y + this->resize.step_height / 2, item->title, _fios_colours[item->type]); + DrawString(r.left + WD_FRAMERECT_LEFT, r.right - WD_FRAMERECT_RIGHT, Center(y, this->resize.step_height), item->title, _fios_colours[item->type]); y += this->resize.step_height; if (y >= this->vscroll->GetCapacity() * this->resize.step_height + r.top + WD_FRAMERECT_TOP) break; } diff --git a/todo.txt b/todo.txt index c76a598ac9..ae711782eb 100644 --- a/todo.txt +++ b/todo.txt @@ -1,4 +1,2 @@ - Fix NewGRF dialog -- Fix Advanced Settings dialog - Add Load button to Play Heightmap dialog -- Fix heightmaps failing to load