Changeset 142 for trunk/src/helpers/dosh.c
- Timestamp:
- Feb 21, 2002, 8:24:22 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/dosh.c
r137 r142 3046 3046 3047 3047 strcpy(szFilename, pszExisting); 3048 pszLastDot = strrchr(szFilename, '.'); 3049 if (! pszLastDot)3048 3049 if (!(pszLastDot = strrchr(szFilename, '.'))) 3050 3050 // no dot in filename: 3051 3051 pszLastDot = szFilename + strlen(szFilename); 3052 3052 3053 do 3053 3054 { … … 3415 3416 { 3416 3417 ULONG cbBuf = CCHMAXPATH - 3; 3417 *pszBuf = ulCurDisk + 'A' - 1; 3418 *(pszBuf + 1) = ':'; 3419 *(pszBuf + 2) = '\\'; 3418 pszBuf[0] = ulCurDisk + 'A' - 1; 3419 pszBuf[1] = ':'; 3420 pszBuf[2] = '\\'; 3421 pszBuf[3] = '\0'; 3420 3422 arc = DosQueryCurrentDir(0, pszBuf + 3, &cbBuf); 3421 3423 } … … 3981 3983 */ 3982 3984 3983 VOID GetInfoSegs(VOID)3985 static VOID GetInfoSegs(VOID) 3984 3986 { 3985 3987 SEL GlobalInfoSegSelector,
Note:
See TracChangeset
for help on using the changeset viewer.