[Scummvm-git-logs] scummvm master -> b7fd4cb8af41ad8d3cd465e9c294321042c57866
sev-
noreply at scummvm.org
Sat Dec 9 14:34:42 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b7fd4cb8af GRAPHICS: Fix crash while trying fonts-cjk.dat
Commit: b7fd4cb8af41ad8d3cd465e9c294321042c57866
https://github.com/scummvm/scummvm/commit/b7fd4cb8af41ad8d3cd465e9c294321042c57866
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-12-09T15:33:16+01:00
Commit Message:
GRAPHICS: Fix crash while trying fonts-cjk.dat
Changed paths:
graphics/fonts/ttf.cpp
diff --git a/graphics/fonts/ttf.cpp b/graphics/fonts/ttf.cpp
index 6836f3b5c0e..940d4b0c8bc 100644
--- a/graphics/fonts/ttf.cpp
+++ b/graphics/fonts/ttf.cpp
@@ -910,6 +910,7 @@ Font *loadTTFFontFromArchive(const Common::String &filename, int size, TTFSizeMo
if (!f.open(filename, *archive)) {
delete archive;
+ archiveStream = nullptr;
// Trying fonts-cjk.dat
if (ConfMan.hasKey("extrapath")) {
More information about the Scummvm-git-logs
mailing list