From fc05db5095340695dceed0b5c6bfa8b5918abb64 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Sun, 4 Jan 2004 20:22:02 +0000 Subject: [PATCH] Added strpbrkW - I am going to need it for comdlg32 coming this week. svn path=/trunk/; revision=7451 --- reactos/include/wine/unicode.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reactos/include/wine/unicode.h b/reactos/include/wine/unicode.h index b3aea217aab..b65d94d23b9 100644 --- a/reactos/include/wine/unicode.h +++ b/reactos/include/wine/unicode.h @@ -81,4 +81,10 @@ static inline unsigned short get_char_typeW( wchar_t ch ) return wine_wctype_table[wine_wctype_table[ch >> 8] + (ch & 0xff)]; } +static inline WCHAR *strpbrkW( const WCHAR *str, const WCHAR *accept ) +{ + for ( ; *str; str++) if (strchrW( accept, *str )) return (WCHAR *)str; + return NULL; +} + #endif