diff options
Diffstat (limited to 'src/gdisp/mcufont')
-rw-r--r-- | src/gdisp/mcufont/mf_wordwrap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gdisp/mcufont/mf_wordwrap.c b/src/gdisp/mcufont/mf_wordwrap.c index 4e2b1d4f..4c563c3f 100644 --- a/src/gdisp/mcufont/mf_wordwrap.c +++ b/src/gdisp/mcufont/mf_wordwrap.c @@ -172,8 +172,8 @@ static void tune_lines(struct linelen_s *current, struct linelen_s *previous, void mf_wordwrap(const struct mf_font_s *font, int16_t width, mf_str text, mf_line_callback_t callback, void *state) { - struct linelen_s current; - struct linelen_s previous; + struct linelen_s current = { 0 }; + struct linelen_s previous = { 0 }; bool full; current.start = text; |