aboutsummaryrefslogtreecommitdiffstats
path: root/src/wchar
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar')
-rw-r--r--src/wchar/wcstok.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wchar/wcstok.c b/src/wchar/wcstok.c
index 2694dc0..9ca3929 100644
--- a/src/wchar/wcstok.c
+++ b/src/wchar/wcstok.c
@@ -79,7 +79,7 @@ wchar_t* wcssep(wchar_t** restrict string, const wchar_t* restrict delimiters)
if (r == NULL)
return NULL;
- next = wcpbrk(r, delimiters);
+ next = wcrpbrk(r, delimiters);
if (next != NULL)
*next++ = 0;
*string = next;