mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 10:22:39 +01:00
Codechange: Rename CenterBounds to CentreBounds and move to geometry header. (#14002)
This commit is contained in:
@@ -907,8 +907,8 @@ void DrawCharCentered(char32_t c, const Rect &r, TextColour colour)
|
||||
{
|
||||
SetColourRemap(colour);
|
||||
GfxMainBlitter(GetGlyph(FS_NORMAL, c),
|
||||
CenterBounds(r.left, r.right, GetCharacterWidth(FS_NORMAL, c)),
|
||||
CenterBounds(r.top, r.bottom, GetCharacterHeight(FS_NORMAL)),
|
||||
CentreBounds(r.left, r.right, GetCharacterWidth(FS_NORMAL, c)),
|
||||
CentreBounds(r.top, r.bottom, GetCharacterHeight(FS_NORMAL)),
|
||||
BlitterMode::ColourRemap);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user