Quick update/fix to the test program.

This commit is contained in:
Pietro Gagliardi 2015-04-12 01:01:56 -04:00
parent 8f6acdc8da
commit 499611a3fe
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ static void setCheckboxText(uiControl *b, void *data)
} }
uiWindow *w; uiWindow *w;
#define nStacks 7 #define nStacks 9
uiControl *stacks[nStacks]; uiControl *stacks[nStacks];
uiControl *spaced; uiControl *spaced;
@ -290,7 +290,7 @@ int main(int argc, char *argv[])
i++; i++;
if (i != nStacks) { if (i != nStacks) {
fprintf(stderr, "forgot to update nStacks\n"); fprintf(stderr, "forgot to update nStacks (expected %d)\n", i);
return 1; return 1;
} }
uiWindowShow(w); uiWindowShow(w);