radioline() was broken after the portable-dialog stuff got added, so
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 27 Apr 2003 10:02:21 +0000 (10:02 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 27 Apr 2003 10:02:21 +0000 (10:02 +0000)
PuTTYgen was lacking its key type selector. Fixed.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3150 cda61777-01e9-0310-a592-d414129be87e

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);