Comment 3 for bug 1699778

Revision history for this message
Jukka Pakarinen (flegu) wrote :

With the following change all those "Conditional jump or move depends on uninitialised value(s)" mesages are gone.

=== modified file 'src/ui_basic/multilineeditbox.cc'
--- src/ui_basic/multilineeditbox.cc 2017-09-20 21:27:25 +0000
+++ src/ui_basic/multilineeditbox.cc 2017-12-03 16:32:02 +0000
@@ -105,6 +105,7 @@
    : scrollbar(&o, o.get_w() - Scrollbar::kSize, 0, Scrollbar::kSize, o.get_h(), button_background),
      background(init_background),
      cursor_pos(0),
+ lineheight(1),
      maxbytes(std::min(g_gr->max_texture_size() / UI_FONT_SIZE_SMALL, 0xffff)),
      ww_valid(false),
      owner(o) {

The original problem is still there. I'm not sure is the initial value ok?