From 4457d10f8465ec93d2761168a850cfe2574d6d5c Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Fri, 5 Nov 2010 01:11:05 +0000 Subject: GRAPHICS/SJIS: fix out of bounds shadow mode text drawing svn-id: r54080 --- graphics/sjis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/sjis.h') diff --git a/graphics/sjis.h b/graphics/sjis.h index 3ba07230da..6ac2033a48 100644 --- a/graphics/sjis.h +++ b/graphics/sjis.h @@ -155,7 +155,7 @@ public: void drawChar(void *dst, uint16 ch, int pitch, int bpp, uint32 c1, uint32 c2, int maxW = -1, int maxH = -1) const; private: template - void blitCharacter(const uint8 *glyph, const int w, const int h, uint8 *dst, int pitch, Color c1, Color c2 = 0) const; + void blitCharacter(const uint8 *glyph, const int w, const int h, uint8 *dst, int pitch, Color c1, Color c2 = 0, bool clipShadowRight = false, bool clipShadowBottom = false) const; void createOutline(uint8 *outline, const uint8 *glyph, const int w, const int h) const; #ifndef DISABLE_FLIPPED_MODE -- cgit v1.2.3