summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-27 18:33:46 +0000
committerrubidium <rubidium@openttd.org>2013-06-27 18:33:46 +0000
commit928df8163afec53678de98ddee71f5bb2a0e4fed (patch)
tree0b4ae6ffb5637bcd12730d4ce10829eff119798d
parentb82a3460d12c1fa0dfdde9edd7ea00c65b670235 (diff)
downloadopenttd-928df8163afec53678de98ddee71f5bb2a0e4fed.tar.xz
(svn r25485) -Fix-ish: silence compiler warning
-rw-r--r--src/gfx_layout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp
index f28a35e8f..9dc921267 100644
--- a/src/gfx_layout.cpp
+++ b/src/gfx_layout.cpp
@@ -401,7 +401,7 @@ Layouter::Layouter(const char *str, int maxw, TextColour colour, FontSize fontsi
CharType *buff = this->buffer;
TextColour cur_colour = colour, prev_colour = colour;
- WChar c;
+ WChar c = 0;
do {
Font *f = new Font(fontsize, cur_colour);