radioline() was broken after the portable-dialog stuff got added, so
[sgt/putty] / winctrls.c
index 7f503c9..85b6dfb 100644 (file)
@@ -287,6 +287,7 @@ void radioline(struct ctlpos *cp, char *text, int id, int nacross, ...)
        if (!btext)
            break;
        bid = va_arg(ap, int);
+       nbuttons++;
     }
     va_end(ap);
     buttons = snewn(nbuttons, struct radio);