mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 17:02:37 +01:00
Fix: Don't implicitly ReInit all windows after updating the character width cache.
This caused duplicate ReInit when changing interface scale.
This commit is contained in:
committed by
Peter Nelson
parent
54ba757910
commit
e2425b72c1
@@ -1406,8 +1406,6 @@ void LoadStringWidthTable(bool monospace)
|
||||
_stringwidth_table[fs][i] = GetGlyphWidth(fs, i + 32);
|
||||
}
|
||||
}
|
||||
|
||||
ReInitAllWindows(false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user