From 6e5e998f7c9a8fa96458f36021bc4552624d6b04 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Sep 2015 18:55:47 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/wchar/wcstok.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wchar') 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; -- cgit v1.2.3-70-g09d2