[patch] initialize mustQueueResize in Textblock constructor
5 Dec
2007
5 Dec
'07
11:11 a.m.
Hello, this patch initializes mustQueueResize in the Textblock constructor. Valgrind was complaining about a jump depending on uninitialized memory. Cheers, Johannes diff --git a/dw/textblock.cc b/dw/textblock.cc --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -39,6 +39,7 @@ Textblock::Textblock (bool limitTextWidt line1Offset = 0; line1OffsetEff = 0; ignoreLine1OffsetSometimes = false; + mustQueueResize = false; /* * The initial sizes of lines and words should not be
6192
Age (days ago)
6192
Last active (days ago)
1 comments
2 participants
participants (2)
-
jcid@dillo.org
-
Johannes.Hofmann@gmx.de