mirror of https://github.com/OpenTTD/OpenTTD
(svn r25485) -Fix-ish: silence compiler warning
parent
b82a3460d1
commit
928df8163a
|
@ -401,7 +401,7 @@ Layouter::Layouter(const char *str, int maxw, TextColour colour, FontSize fontsi
|
||||||
CharType *buff = this->buffer;
|
CharType *buff = this->buffer;
|
||||||
|
|
||||||
TextColour cur_colour = colour, prev_colour = colour;
|
TextColour cur_colour = colour, prev_colour = colour;
|
||||||
WChar c;
|
WChar c = 0;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
Font *f = new Font(fontsize, cur_colour);
|
Font *f = new Font(fontsize, cur_colour);
|
||||||
|
|
Loading…
Reference in New Issue