X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5dd6771b28c257af405d7248639ed0e3bcdce38b..2b60a54adb3b0bf5a9b927708085492b816a6015:/sbr/vfgets.c diff --git a/sbr/vfgets.c b/sbr/vfgets.c index 3a376e10..480af139 100644 --- a/sbr/vfgets.c +++ b/sbr/vfgets.c @@ -1,6 +1,4 @@ - -/* - * vfgets.c -- virtual fgets +/* vfgets.c -- virtual fgets * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -40,15 +38,13 @@ wrong_guess: if (*dp == '\n') { *bp = pp; return 0; - } else { - cp = ++dp; } + cp = ++dp; } else { for (fp = dp - 1, toggle = 0; fp >= cp; fp--) { if (*fp != QUOTE) break; - else - toggle = !toggle; + toggle = !toggle; } if (toggle) goto wrong_guess;