From 1ed1eb8dece851e623c4fff4548739e334b4d1ba Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 11 Apr 2015 17:26:48 -0400 Subject: [PATCH] Removed a leftover line from the Go version of uiStack that is actually wrong in the C version; I thought it would fix the previous commit but it doesn't... --- new/stack.c | 1 - 1 file changed, 1 deletion(-) 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