summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-11 17:26:48 -0400
committerPietro Gagliardi <[email protected]>2015-04-11 17:26:48 -0400
commit1ed1eb8dece851e623c4fff4548739e334b4d1ba (patch)
tree11ece11c6645ae3acbfd540f1254154705b3139b
parenta0033784b736380c6cf1ccaec6421394ee2562fc (diff)
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...
-rw-r--r--new/stack.c1
1 files changed, 0 insertions, 1 deletions
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