Coding style fixes, mostly indentation and whitespace

This commit is contained in:
Markus Armbruster 2010-05-18 22:09:01 +02:00
parent 8a0d117d45
commit 373651359e
47 changed files with 131 additions and 130 deletions

View file

@ -544,7 +544,7 @@ copy_ascii_no_funny(char *dst, char *src)
if ((ch < 0x20 && ch != '\t' && ch != '\n') || ch == 0x7f)
; /* ignore funny control */
else if (ch > 0x7f)
*p++ = '?'; /* replace non-ASCII */
*p++ = '?'; /* replace non-ASCII */
else
*p++ = ch;
}
@ -619,8 +619,7 @@ ufindpfx(char *s, int n)
{
int i = 0;
while (n && s[i])
{
while (n && s[i]) {
if ((s[i++] & 0xc0) == 0xc0)
while ((s[i] & 0xc0) == 0x80)
i++;