[Scummvm-git-logs] scummvm master -> 37f543844287d6f929edd6bf95d63aafb54e43f0
eriktorbjorn
noreply at scummvm.org
Tue Dec 5 17:58:20 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:
37f5438442 SCUMM: Fix off-by-one error in _unicodeToMacRoman[] declaration
Commit: 37f543844287d6f929edd6bf95d63aafb54e43f0
https://github.com/scummvm/scummvm/commit/37f543844287d6f929edd6bf95d63aafb54e43f0
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2023-12-05T18:58:07+01:00
Commit Message:
SCUMM: Fix off-by-one error in _unicodeToMacRoman[] declaration
One slot each for 160-255 is 96 slots, not 95.
Changed paths:
engines/scumm/gfx_mac.h
diff --git a/engines/scumm/gfx_mac.h b/engines/scumm/gfx_mac.h
index 64b64ff1454..cb57d671676 100644
--- a/engines/scumm/gfx_mac.h
+++ b/engines/scumm/gfx_mac.h
@@ -51,7 +51,7 @@ protected:
Common::HashMap<int, const Graphics::Font *> _fonts;
int _gameFontId = -1;
- byte _unicodeToMacRoman[95];
+ byte _unicodeToMacRoman[96];
enum Color {
kBlack = 0,
More information about the Scummvm-git-logs
mailing list