diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-08 21:55:48 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-08 21:55:48 -0300 |
commit | 74f64426001a693759e47963f99965e0e6ee847d (patch) | |
tree | 59c687ec438c6f4281c34dbd87d21c8abf4c6116 /dw/layout.cc | |
parent | 845493306279f446dbac9568a0a1e0f442e615dd (diff) |
Fixed a couple of uninitialized-value bugs (detected with valgrind)
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index c0652d6c..e7d7d913 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -91,6 +91,8 @@ Layout::Layout (Platform *platform) usesViewport = false; scrollX = scrollY = 0; + viewportWidth = viewportHeight = 0; + hScrollbarThickness = vScrollbarThickness = 0; requestedAnchor = NULL; scrollIdleId = -1; |