Add two more ghastly function key options. WE HAVE TOO MANY!
[u/mdw/putty] / winctrls.c
index 2ead90f..0e85dbe 100644 (file)
@@ -174,6 +174,10 @@ void radioline(struct ctlpos *cp,
         int bid;
         if (!btext)
             break;
+       if (i==nacross) {
+           cp->ypos += r.bottom + GAPBETWEEN;
+           i=0;
+       }
         bid = va_arg(ap, int);
         nextbtext = va_arg(ap, char *);
         r.left = GAPBETWEEN + i * (cp->width+GAPBETWEEN)/nacross;