[Scummvm-git-logs] scummvm master -> 1dc7fac7cc97a5e4f323638afd9fe97402d94b73

phcoder noreply at scummvm.org
Wed May 3 13:22:23 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:
1dc7fac7cc GRAPHICS: Fix default bpp value for drawBig5Char


Commit: 1dc7fac7cc97a5e4f323638afd9fe97402d94b73
    https://github.com/scummvm/scummvm/commit/1dc7fac7cc97a5e4f323638afd9fe97402d94b73
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2023-05-03T15:22:17+02:00

Commit Message:
GRAPHICS: Fix default bpp value for drawBig5Char

Changed paths:
    graphics/big5.h


diff --git a/graphics/big5.h b/graphics/big5.h
index 248dad72c5b..8f9f0ca56e0 100644
--- a/graphics/big5.h
+++ b/graphics/big5.h
@@ -34,7 +34,7 @@ public:
 	Big5Font();
 	~Big5Font();
 	void loadPrefixedRaw(Common::ReadStream &input, int height);
-	bool drawBig5Char(byte *dest, uint16 ch, int maxX, int maxY, uint32 destPitch, byte color, byte outlineColor, bool outline = true, int bpp = 8) const;
+	bool drawBig5Char(byte *dest, uint16 ch, int maxX, int maxY, uint32 destPitch, byte color, byte outlineColor, bool outline = true, int bpp = 1) const;
 	bool drawBig5Char(Graphics::Surface *surf, uint16 ch, const Common::Point &pt, uint32 color, byte outlineColor = 0, bool outline = false) const;
 	bool hasGlyphForBig5Char(uint16 textChar) const { return (textChar & 0x8000) && _chineseTraditionalIndex[textChar & 0x7fff] >= 0; }
 




More information about the Scummvm-git-logs mailing list