Changeset 5618 for trunk/src/shlwapi/path.c
- Timestamp:
- Apr 28, 2001, 3:33:49 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shlwapi/path.c
r4081 r5618 1 1 /* 2 2 * Path Functions 3 * 4 * Note: Odin changes marked by #ifdef __WIN32OS2__ 5 */ 6 3 */ 7 4 #ifdef __WIN32OS2__ 8 5 #include <odin.h> … … 17 14 18 15 #include <heapstring.h> 16 #include <wine\undocshell.h> 19 17 #endif 20 18 … … 24 22 #include "winerror.h" 25 23 #include "wine/unicode.h" 26 #include "wine/undocshell.h" 24 #include "winbase.h" 25 #include "wingdi.h" 26 #include "winuser.h" 27 27 #include "shlwapi.h" 28 28 #include "debugtools.h" 29 29 30 30 31 DEFAULT_DEBUG_CHANNEL(shell); … … 211 212 LPWSTR WINAPI PathBuildRootW(LPWSTR lpszPath, int drive) 212 213 { 214 lpszPath[0] = 'A' + drive; 215 lpszPath[1] = ':'; 216 lpszPath[2] = '\\'; 217 lpszPath[3] = 0; 213 218 TRACE("%p %i\n",debugstr_w(lpszPath), drive); 214 215 lstrcpyAtoW(lpszPath,"A:\\");216 lpszPath[0]+=drive;217 219 return lpszPath; 218 220 } … … 1070 1072 BOOL WINAPI PathMatchSpecW(LPCWSTR name, LPCWSTR mask) 1071 1073 { 1072 WCHAR stemp[4];1074 static const WCHAR stemp[] = { '*','.','*',0 }; 1073 1075 TRACE("%s %s\n",debugstr_w(name),debugstr_w(mask)); 1074 1076 1075 lstrcpyAtoW(stemp,"*.*");1076 1077 if (!lstrcmpW( mask, stemp )) return 1; /* we don't require a period */ 1077 1078
Note:
See TracChangeset
for help on using the changeset viewer.