From 39657d164ff6afb7ba23234ec92c37b7be045410 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 12 Apr 2015 01:01:56 -0400 Subject: [PATCH] Quick update/fix to the test program. --- test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.c b/test.c index 9b12cd6d..5acfdc40 100644 --- a/test.c +++ b/test.c @@ -67,7 +67,7 @@ static void setCheckboxText(uiControl *b, void *data) } uiWindow *w; -#define nStacks 7 +#define nStacks 9 uiControl *stacks[nStacks]; uiControl *spaced; @@ -290,7 +290,7 @@ int main(int argc, char *argv[]) i++; if (i != nStacks) { - fprintf(stderr, "forgot to update nStacks\n"); + fprintf(stderr, "forgot to update nStacks (expected %d)\n", i); return 1; } uiWindowShow(w);