From 5b29bd6d962402797fa5945ceb7d38e9162684a4 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 13 Apr 2015 19:23:34 -0400 Subject: [PATCH] More TODOs. --- stack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stack.c b/stack.c index 748759cb..ede49d3a 100644 --- a/stack.c +++ b/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) {