summaryrefslogtreecommitdiff
path: root/new/test.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-12 01:01:56 -0400
committerPietro Gagliardi <[email protected]>2015-04-12 01:01:56 -0400
commit499611a3fec4ac39d5ebf53c6656b2f5971d08e4 (patch)
tree242ff3275df6014b543a18c88c5a8b8060ec3450 /new/test.c
parent8f6acdc8da577342c9c95577869fe7513b278fb0 (diff)
Quick update/fix to the test program.
Diffstat (limited to 'new/test.c')
-rw-r--r--new/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/new/test.c b/new/test.c
index 9b12cd6..5acfdc4 100644
--- a/new/test.c
+++ b/new/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);