Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 4420 → Rev 4419

/branches/dd/uspace/lib/libc/generic/string.c
593,12 → 593,10
{
wchar_t acc;
size_t off = 0;
size_t last = 0;
while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
if (acc == ch)
return (str + last);
last = off;
return (str + off);
}
return NULL;
615,13 → 613,12
{
wchar_t acc;
size_t off = 0;
size_t last = 0;
char *res = NULL;
char *res;
res = NULL;
while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
if (acc == ch)
res = (str + last);
last = off;
res = (str + off);
}
return res;