More TODOs.

This commit is contained in:
Pietro Gagliardi 2015-04-13 19:23:34 -04:00
parent 8b91b42e1a
commit 2c5c9e82f5
1 changed files with 1 additions and 0 deletions

View File

@ -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) {