[Scummvm-git-logs] scummvm master -> 4034ab2335480140ee2c803c47238a8be1f28729
orgads
noreply at scummvm.org
Sun May 15 10:11:59 UTC 2022
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:
4034ab2335 SCUMM: Use true/false for bool member
Commit: 4034ab2335480140ee2c803c47238a8be1f28729
https://github.com/scummvm/scummvm/commit/4034ab2335480140ee2c803c47238a8be1f28729
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2022-05-15T13:11:47+03:00
Commit Message:
SCUMM: Use true/false for bool member
Changed paths:
engines/scumm/charset.cpp
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp
index d0b63657d80..693c208f5f4 100644
--- a/engines/scumm/charset.cpp
+++ b/engines/scumm/charset.cpp
@@ -55,7 +55,7 @@ void ScummEngine::loadCJKFont() {
_textSurfaceMultiplier = 1;
_newLineCharacter = 0;
- _useMultiFont = 0; // Korean Multi-Font
+ _useMultiFont = false; // Korean Multi-Font
// Special case for Korean
if (isScummvmKorTarget()) {
@@ -179,7 +179,7 @@ void ScummEngine::loadKorFont() {
_useCJKMode = true;
if (_game.version < 7 || _game.id == GID_FT)
- _useMultiFont = 1;
+ _useMultiFont = true;
if (_useMultiFont) {
debug("Loading Korean Multi Font System");
@@ -213,7 +213,7 @@ void ScummEngine::loadKorFont() {
}
if (_numLoadedFont == 0) {
warning("Cannot load any font for multi font");
- _useMultiFont = 0;
+ _useMultiFont = false;
} else {
debug("%d fonts are loaded", _numLoadedFont);
}
More information about the Scummvm-git-logs
mailing list