cpstripped: Add braces to make code more legible.
[mmh] / sbr / fmt_scan.c
index d0b112b..ca7f5e8 100644 (file)
@@ -230,15 +230,16 @@ cpstripped(char **start, char *end, char *str)
                }
        }
 #else
-       while((c = (unsigned char) *s++) && *start < end)
-               if (!iscntrl(c) && !isspace(c))
+       while((c = (unsigned char) *s++) && *start < end) {
+               if (!iscntrl(c) && !isspace(c)) {
                        *(*start)++ = c;
-               else {
+               } else {
                        while ((c = (unsigned char) *s) &&
                                        (iscntrl(c) || isspace(c)))
                                s++;
                        *(*start)++ = ' ';
                }
+       }
 #endif
 }