X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fargp-fmtstream.c;h=0dd9256f570adfb6eed734d465e60f0fa9bb43f0;hb=04597d099c32b9b380b6c82eed97fb88ef467d2e;hp=0ba19c5aeb7bef140b8cf44844b9a0d3160f743e;hpb=d210c813ea414429a0aa72512e5659860fa556a1;p=gnulib.git diff --git a/lib/argp-fmtstream.c b/lib/argp-fmtstream.c index 0ba19c5ae..0dd9256f5 100644 --- a/lib/argp-fmtstream.c +++ b/lib/argp-fmtstream.c @@ -246,9 +246,10 @@ __argp_fmtstream_update (argp_fmtstream_t fs) Oh well. Put it on an overlong line by itself. */ p = buf + (r + 1 - fs->point_col); /* Find the end of the long word. */ - do - ++p; - while (p < nl && !isblank (*p)); + if (p < nl) + do + ++p; + while (p < nl && !isblank (*p)); if (p == nl) { /* It already ends a line. No fussing required. */