forked from mirror/OpenTTD
Codechange: Remove FONT_HEIGHT_... macros. (#11481)
These make it look like we're dealing with a constant, but actually each is a call to `GetCharacterHeight(...)`.
This commit is contained in:
@@ -219,7 +219,7 @@ struct GoalListWindow : public Window {
|
||||
}
|
||||
break;
|
||||
}
|
||||
r.top += FONT_HEIGHT_NORMAL;
|
||||
r.top += GetCharacterHeight(FS_NORMAL);
|
||||
}
|
||||
pos++;
|
||||
num++;
|
||||
|
Reference in New Issue
Block a user