]> git.tdb.fi Git - libs/gltk.git/commitdiff
Fix an uninitialized variable
authorMikko Rasa <tdb@tdb.fi>
Fri, 5 Jul 2013 15:27:34 +0000 (18:27 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 5 Jul 2013 15:27:34 +0000 (18:27 +0300)
source/lineararrangement.cpp

index 7769db2d64e47af8384237cc4b1eff8e80f6fc21..6148be3b38ce4313bb4cb19073dbf958b3a413a6 100644 (file)
@@ -9,7 +9,8 @@ LinearArrangement::LinearArrangement(Layout &l, Side p):
        opposite(static_cast<Side>((primary+2)%4)),
        first(true),
        split_here(false),
-       gravity(opposite)
+       gravity(opposite),
+       internal_aligned(false)
 { }
 
 void LinearArrangement::split()