mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
Codechange: use EnumRange over many enum loops
This commit is contained in:
committed by
Peter Nelson
parent
c991564e12
commit
c3b0d71973
@@ -106,7 +106,7 @@ void InitializeUnicodeGlyphMap(FontSize fs)
|
||||
*/
|
||||
void InitializeUnicodeGlyphMap()
|
||||
{
|
||||
for (FontSize fs = FontSize::Begin; fs < FontSize::End; fs++) {
|
||||
for (FontSize fs : EnumRange(FontSize::End)) {
|
||||
InitializeUnicodeGlyphMap(fs);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user