Changeset 1545 for trunk/dll/pathutil.c
- Timestamp:
- Oct 24, 2010, 12:00:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/pathutil.c
r1480 r1545 17 17 28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code 18 18 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 19 23 Oct 10 GKY Add ForwardslashToBackslash function to streamline code 19 20 20 21 ***********************************************************************/ … … 42 43 43 44 static PSZ pszSrcFile = __FILE__; 45 46 PSZ ForwardslashToBackslash(PSZ pszPathName) 47 { 48 CHAR *p; 49 50 p = pszPathName; 51 while (*p) { 52 if (*p == '/') 53 *p = '\\'; 54 p++; 55 } 56 return pszPathName; 57 } 44 58 45 59 PSZ AddBackslashToPath(PSZ pszPathName)
Note:
See TracChangeset
for help on using the changeset viewer.