X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0ea1e09365a5fc1d401a6a7df4e2278820c09d23..116b286a03fe33db3db24a56fa3518d237f5b8c2:/sbr/mf.c diff --git a/sbr/mf.c b/sbr/mf.c index fa281766..9e5cad8c 100644 --- a/sbr/mf.c +++ b/sbr/mf.c @@ -34,17 +34,18 @@ isfrom(const char *string) int lequal (const char *a, const char *b) { - for (; *a; a++, b++) + char c1, c2; + + for (; *a; a++, b++) { if (*b == 0) return FALSE; - else { - char c1 = islower ((unsigned char) *a) ? - toupper ((unsigned char) *a) : *a; - char c2 = islower ((unsigned char) *b) ? - toupper ((unsigned char) *b) : *b; - if (c1 != c2) - return FALSE; - } + c1 = islower ((unsigned char) *a) ? + toupper ((unsigned char) *a) : *a; + c2 = islower ((unsigned char) *b) ? + toupper ((unsigned char) *b) : *b; + if (c1 != c2) + return FALSE; + } return (*b == 0); }