if (c != '%')
{
- write_char (str, &count, max_len,c);
+ write_char (str, &count, max_len, c);
continue;
}
if (c == '%')
{
- write_char (str, &count, max_len,c);
+ write_char (str, &count, max_len, c);
n--;
continue;
}
break;
case 'c':
- write_char (str, &count, max_len,curarg & 0xff);
+ write_char (str, &count, max_len, curarg & 0xff);
break;
case 'C':
mask = 0;
}
- write_char (str, &count, max_len,mask | (code >> shift));
+ write_char (str, &count, max_len, mask | (code >> shift));
for (shift -= 6; shift >= 0; shift -= 6)
- write_char (str, &count, max_len,0x80 | (0x3f & (code >> shift)));
+ write_char (str, &count, max_len, 0x80 | (0x3f & (code >> shift)));
}
break;
write_char (str, &count, max_len, zerofill);
for (i = 0; i < len; i++)
- write_char (str, &count, max_len,*p++);
+ write_char (str, &count, max_len, *p++);
if (rightfill)
while (fill--)
break;
default:
- write_char (str, &count, max_len,c);
+ write_char (str, &count, max_len, c);
break;
}
}