From 169141433a100c34a79f766fcfceb41037fea04f Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 3 Dec 2009 15:27:33 +0000 Subject: (svn r18391) -Fix (r0): (Invalid) GRFs could trigger invalid reads. --- src/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gfx.cpp') diff --git a/src/gfx.cpp b/src/gfx.cpp index 7fab69db3..5247daccb 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -70,7 +70,7 @@ static ReusableBuffer _cursor_backup; */ static Rect _invalid_rect; static const byte *_colour_remap_ptr; -static byte _string_colourremap[3]; +static byte _string_colourremap[3]; ///< Recoloursprite for stringdrawing. The grf loader ensures, that ST_FONT sprites only use colours 0 to 2. enum { DIRTY_BLOCK_HEIGHT = 8, -- cgit v1.2.3-54-g00ecf