More TODOs.
This commit is contained in:
parent
8b91b42e1a
commit
2c5c9e82f5
|
@ -375,6 +375,7 @@ void uiStackRemove(uiControl *st, uintptr_t index)
|
||||||
|
|
||||||
removed = s->controls[index].c;
|
removed = s->controls[index].c;
|
||||||
nAfter = s->len - index - 1;
|
nAfter = s->len - index - 1;
|
||||||
|
// TODO make sure this is correct
|
||||||
memmove(&(s->controls[index + 1]), &(s->controls[index]), nAfter * sizeof (stackControl));
|
memmove(&(s->controls[index + 1]), &(s->controls[index]), nAfter * sizeof (stackControl));
|
||||||
s->len--;
|
s->len--;
|
||||||
if (s->parent != NULL) {
|
if (s->parent != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue