Quick update/fix to the test program.
This commit is contained in:
parent
8f6acdc8da
commit
499611a3fe
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue