]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winctrls.c
first pass
[PuTTY.git] / windows / winctrls.c
index d5b962ae35f8251bd9719639fe77dcc857f5c781..a03967e6f81917a07e9669ea89448ba9b57098d7 100644 (file)
@@ -301,6 +301,7 @@ void bareradioline(struct ctlpos *cp, int nacross, ...)
        if (!btext)
            break;
        (void) va_arg(ap, int); /* id */
+        nbuttons++;
     }
     va_end(ap);
     buttons = snewn(nbuttons, struct radio);
@@ -331,6 +332,7 @@ void radiobig(struct ctlpos *cp, char *text, int id, ...)
        if (!btext)
            break;
        (void) va_arg(ap, int); /* id */
+        nbuttons++;
     }
     va_end(ap);
     buttons = snewn(nbuttons, struct radio);