mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
MADS: Initialize some variables in FontManager
This commit is contained in:
parent
7caf5fba4b
commit
57c5656169
@ -63,10 +63,16 @@ Font *Font::getFont(const Common::String &fontName) {
|
||||
}
|
||||
|
||||
Font::Font() {
|
||||
_charWidths = nullptr;
|
||||
_charOffs = nullptr;
|
||||
_charData = nullptr;
|
||||
setFont(FONT_INTERFACE);
|
||||
}
|
||||
|
||||
Font::Font(const Common::String &filename) {
|
||||
_charWidths = nullptr;
|
||||
_charOffs = nullptr;
|
||||
_charData = nullptr;
|
||||
setFont(filename);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user