The toggledView variable was assigned twice. The last assignment should
win. Interestingly with gcc 4 and optimizations enabled the same value was passed twice to Add(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22431 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -350,7 +350,7 @@ struct GroupLayoutTest1 : public Test {
|
|||||||
// row 3
|
// row 3
|
||||||
.AddGroup(B_HORIZONTAL, 10, 3)
|
.AddGroup(B_HORIZONTAL, 10, 3)
|
||||||
.Add(new TestView(), 3)
|
.Add(new TestView(), 3)
|
||||||
.Add(toggledView = new TestView(), 2)
|
.Add(new TestView(), 2)
|
||||||
.Add(new TestView(), 1)
|
.Add(new TestView(), 1)
|
||||||
.End()
|
.End()
|
||||||
.End()
|
.End()
|
||||||
|
|||||||
Reference in New Issue
Block a user