diff --git a/new/stack.c b/new/stack.c index 5199804..488c25e 100644 --- a/new/stack.c +++ b/new/stack.c @@ -169,7 +169,6 @@ static void stackResize(uiControl *c, intmax_t x, intmax_t y, intmax_t width, in nStretchy++; continue; } - c = s->controls[i].c; uiControlPreferredSize(s->controls[i].c, d, &preferredWidth, &preferredHeight); if (s->vertical) { // all controls have same width // TODO TODO TODO TODO TODO TODO TODO