diff options
-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); |