summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-09 09:59:35 +0000
committerrubidium <rubidium@openttd.org>2009-11-09 09:59:35 +0000
commitc2221885f488b9a7ca52b11e621582d4c60ab80d (patch)
treeb793601f63728bb573ffd9825355792c89d7e315 /src/gfx.cpp
parent37027467567dd0b75bbb932cdab87da3ff24dedd (diff)
downloadopenttd-c2221885f488b9a7ca52b11e621582d4c60ab80d.tar.xz
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 0f011aebb..062ef34f1 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -49,7 +49,7 @@ int _pal_first_dirty;
int _pal_count_dirty;
Colour _cur_palette[256];
-byte _stringwidth_table[FS_END][224]; ///< Cache containing width of often used characters. @see GetCharacterWidth()
+static byte _stringwidth_table[FS_END][224]; ///< Cache containing width of often used characters. @see GetCharacterWidth()
DrawPixelInfo *_cur_dpi;
byte _colour_gradient[COLOUR_END][8];