Unicode: Moved strpbrkW

Alberto Massari alby at exln.com
Thu Dec 26 07:07:01 CST 2002


Changelog:
- Moved implementation of strpbrkW from filedlg95.c to wine/unicode.h

Alberto

Index: dlls/commdlg/filedlg95.c
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/filedlg95.c,v
retrieving revision 1.86
diff -u -r1.86 filedlg95.c
--- dlls/commdlg/filedlg95.c	5 Dec 2002 19:56:16 -0000	1.86
+++ dlls/commdlg/filedlg95.c	26 Dec 2002 11:44:46 -0000
@@ -219,20 +219,6 @@
 BOOL FILEDLG95_OnOpenMultipleFiles(HWND hwnd, LPWSTR lpstrFileList, UINT nFileCount, UINT sizeUsed);
 static BOOL BrowseSelectedFolder(HWND hwnd);
 
-LPWSTR strpbrkW(LPWSTR str, LPCWSTR clist)
-{
-    LPCWSTR p;
-
-    while(str && *str)
-    {
-        for(p = clist; *p; p++ )
-            if(*p == *str)
-                return str;
-        str++;
-    }
-    return NULL;
-}
-
 /***********************************************************************
  *      GetFileName95
  *
Index: include/wine/unicode.h
===================================================================
RCS file: /home/wine/wine/include/wine/unicode.h,v
retrieving revision 1.15
diff -u -r1.15 unicode.h
--- include/wine/unicode.h	31 May 2002 23:06:51 -0000	1.15
+++ include/wine/unicode.h	26 Dec 2002 11:44:47 -0000
@@ -236,6 +236,20 @@
     return ret;
 }
 
+static inline LPWSTR strpbrkW(LPWSTR str, LPCWSTR clist)
+{
+    LPCWSTR p;
+
+    while(str && *str)
+    {
+        for(p = clist; *p; p++ )
+            if(*p == *str)
+                return str;
+        str++;
+    }
+    return NULL;
+}
+
 static inline WCHAR *strlwrW( WCHAR *str )
 {
     WCHAR *ret = str;





More information about the wine-patches mailing list