Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4201 → Rev 4221

/branches/dd/kernel/generic/src/printf/printf_core.c/printf_core.c
254,7 → 254,7
return printf_putstr(nullstr, ps);
/* Print leading spaces */
size_t size = strlen_utf8(str);
size_t size = str_length(str);
if (precision == 0)
precision = size;
 
268,7 → 268,7
}
 
int retval;
size_t bytes = utf8_count_bytes(str, min(size, precision));
size_t bytes = str_lsize(str, min(size, precision));
if ((retval = printf_putnchars_utf8(str, bytes, ps)) < 0)
return -counter;
298,7 → 298,7
return printf_putstr(nullstr, ps);
/* Print leading spaces */
size_t size = strlen_utf32(str);
size_t size = wstr_length(str);
if (precision == 0)
precision = size;