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:
parent
45f9d60c9f
commit
39c99f8644
@ -350,7 +350,7 @@ struct GroupLayoutTest1 : public Test {
|
||||
// row 3
|
||||
.AddGroup(B_HORIZONTAL, 10, 3)
|
||||
.Add(new TestView(), 3)
|
||||
.Add(toggledView = new TestView(), 2)
|
||||
.Add(new TestView(), 2)
|
||||
.Add(new TestView(), 1)
|
||||
.End()
|
||||
.End()
|
||||
|
Loading…
x
Reference in New Issue
Block a user