Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4474 → Rev 4281

/trunk/kernel/generic/src/lib/string.c
641,12 → 641,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;