changeset 929:09dba1aad5cd

Fixed a couple of uninitialized-value bugs (detected with valgrind)
author Jorge Arellano Cid <jcid@dillo.org>
date Sun, 08 Feb 2009 21:55:48 -0300
parents 7771cf243ca6
children b277eed3119c
files dw/layout.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dw/layout.cc	Sun Feb 08 21:16:37 2009 -0300
+++ b/dw/layout.cc	Sun Feb 08 21:55:48 2009 -0300
@@ -91,6 +91,8 @@
    
    usesViewport = false;
    scrollX = scrollY = 0;
+   viewportWidth = viewportHeight = 0;
+   hScrollbarThickness = vScrollbarThickness = 0;
 
    requestedAnchor = NULL;
    scrollIdleId = -1;