Okay I have no fucking idea what's going on
This commit is contained in:
parent
a1b4b96bb9
commit
a0033784b7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue