int main(void) {
newtComponent b1, b2, r1, r2, r3, e2, e3, l1, l2, l3, scale;
- newtComponent lb, t, rsf, answer, timeLabel;
+ newtComponent lb, t, rsf, timeLabel;
newtComponent cs[10];
newtComponent f, chklist, e1;
struct callbackInfo cbis[3];
if (es.reason == NEWT_EXIT_COMPONENT && es.u.co == b2) {
newtScaleSet(scale, atoi(scaleVal));
newtRefresh();
- answer = NULL;
} else if (es.reason == NEWT_EXIT_TIMER) {
spinState++;
if (!*spinState) spinState = spinner;
int main(void) {
newtComponent b1, b2, b3, b4;
- newtComponent answer, f, t;
+ newtComponent f, t;
newtGrid grid, subgrid;
char * flowedText;
int textWidth, textHeight, rc, i;
newtGridWrappedWindow(grid, "first window");
newtGridFree(grid, 1);
- answer = newtRunForm(f);
+ newtRunForm(f);
newtFormDestroy(f);
newtPopWindow();
f = newtForm(NULL, NULL, 0);
newtFormAddComponents(f, b1, t, b2, NULL);
- answer = newtRunForm(f);
+ newtRunForm(f);
newtPopWindow();
newtFormDestroy(f);
newtComponent checktree;
newtComponent button;
newtComponent form;
- newtComponent answer;
const void **result, **ptr;
int numselected, i, j;
int * list;
form = newtForm(NULL, NULL, 0);
newtFormAddComponents(form, checktree, button, NULL);
- answer = newtRunForm(form);
+ newtRunForm(form);
newtFinished();