diff options
author | rubidium <rubidium@openttd.org> | 2013-06-27 18:33:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-06-27 18:33:46 +0000 |
commit | 928df8163afec53678de98ddee71f5bb2a0e4fed (patch) | |
tree | 0b4ae6ffb5637bcd12730d4ce10829eff119798d /src/gfx_layout.cpp | |
parent | b82a3460d12c1fa0dfdde9edd7ea00c65b670235 (diff) | |
download | openttd-928df8163afec53678de98ddee71f5bb2a0e4fed.tar.xz |
(svn r25485) -Fix-ish: silence compiler warning
Diffstat (limited to 'src/gfx_layout.cpp')
-rw-r--r-- | src/gfx_layout.cpp | 2 |
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); |