From 2c5c9e82f50523365d0b87ba9a9735bdf64aa167 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 13 Apr 2015 19:23:34 -0400 Subject: More TODOs. --- new/stack.c | 1 + 1 file changed, 1 insertion(+) (limited to 'new/stack.c') 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) { -- cgit v1.2.3