X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=blobdiff_plain;f=xboard.c;h=1e0e7a891237d6032266f61f61cc96945fca570d;hp=64ac34f1ba90a73f059de0b357a0947b7a1f16fe;hb=0bca6aec07ae68fd49bd722f97bdfb96ffcd26ca;hpb=17a9c76c2af477f9604e2fbdc64667e651fcedd5 diff --git a/xboard.c b/xboard.c index 64ac34f..1e0e7a8 100644 --- a/xboard.c +++ b/xboard.c @@ -2427,7 +2427,7 @@ main(argc, argv) j = fprintf(stderr, " %s%s", shellOptions[i].option, (shellOptions[i].argKind == XrmoptionSepArg ? " ARG" : "")); - if (i++ < XtNumber(shellOptions)) { + if (++i < XtNumber(shellOptions)) { fprintf(stderr, "%*c%s%s\n", 40 - j, ' ', shellOptions[i].option, (shellOptions[i].argKind == XrmoptionSepArg