mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
GRAPHICS: Properly return 0 for late BDF cache loading fails.
This commit is contained in:
@@ -610,6 +610,7 @@ BdfFont *BdfFont::loadFromCache(Common::SeekableReadStream &stream) {
|
||||
delete[] bitmaps;
|
||||
delete[] advances;
|
||||
delete[] boxes;
|
||||
return 0;
|
||||
}
|
||||
|
||||
data.bitmaps = bitmaps;
|
||||
|
||||
Reference in New Issue
Block a user