summaryrefslogtreecommitdiff
path: root/new/stack.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-13 19:23:34 -0400
committerPietro Gagliardi <[email protected]>2015-04-13 19:23:34 -0400
commit2c5c9e82f50523365d0b87ba9a9735bdf64aa167 (patch)
tree1abb050f1427ab4f6b9dc4cd68f6d569e5609cf2 /new/stack.c
parent8b91b42e1a99129c45c70c29cb525bb5621ab85b (diff)
More TODOs.
Diffstat (limited to 'new/stack.c')
-rw-r--r--new/stack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/new/stack.c b/new/stack.c
index 748759c..ede49d3 100644
--- a/new/stack.c
+++ b/new/stack.c
@@ -375,6 +375,7 @@ void uiStackRemove(uiControl *st, uintptr_t index)
removed = s->controls[index].c;
nAfter = s->len - index - 1;
+ // TODO make sure this is correct
memmove(&(s->controls[index + 1]), &(s->controls[index]), nAfter * sizeof (stackControl));
s->len--;
if (s->parent != NULL) {