diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/string/wcsspn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/string/wcsspn.c b/newlib/libc/string/wcsspn.c index f0b2fb99f..b54804c45 100644 --- a/newlib/libc/string/wcsspn.c +++ b/newlib/libc/string/wcsspn.c @@ -75,6 +75,7 @@ _DEFUN (wcsspn, (s, set), { if (*p == *q) break; + q++; } if (!*q) goto done; |