From a0033784b736380c6cf1ccaec6421394ee2562fc Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 11 Apr 2015 17:23:36 -0400 Subject: [PATCH] Okay I have no fucking idea what's going on --- new/stack.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/new/stack.c b/new/stack.c index c4f8ab3..5199804 100644 --- a/new/stack.c +++ b/new/stack.c @@ -172,6 +172,10 @@ static void stackResize(uiControl *c, intmax_t x, intmax_t y, intmax_t width, in 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 + // for some reason, the 32-bit Windows build is clobbering some stacks's data pointer with this line + // I have no idea what's going on; it doesn't happen with the 64-bit version + // is gcc miscompiling something? s->controls[i].width = width; s->controls[i].height = preferredHeight; stretchyht -= preferredHeight;