make sure the view being moved from viewlist to group doesn't get freed by

accident
This commit is contained in:
Bill Currie 2005-06-12 08:38:47 +00:00
parent 66cabb587f
commit be83a5f5c0

View file

@ -25,8 +25,10 @@
- (id) addViews: (Array)viewlist
{
while ([viewlist count])
[self addView:[viewlist removeItemAt:0]];
while ([viewlist count]) {
[self addView:[viewlist getItemAt:0]];
[viewlist removeItemAt:0];
}
return self;
}