Changeset 3642 for trunk/src/kernel32/directory.cpp
- Timestamp:
- Jun 1, 2000, 1:28:48 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/directory.cpp
r3625 r3642 1 /* $Id: directory.cpp,v 1.2 2 2000-05-28 16:45:12sandervl Exp $ */1 /* $Id: directory.cpp,v 1.23 2000-06-01 11:28:44 sandervl Exp $ */ 2 2 3 3 /* … … 159 159 160 160 strcpy(tmp, lpPathName); 161 //SvL: Don't remove terminating backslash if it wants to chdir to root dir 162 if(tmp[len -1] == '\\' && len != 1) 161 if(tmp[len - 1] == '/') { 162 tmp[len-1] = '\\'; 163 } 164 //SvL: Don't remove trailing backslash if it wants to chdir to root dir 165 if((tmp[len - 1] == '\\') && len != 1) 163 166 tmp[len -1] = 0; 164 167
Note:
See TracChangeset
for help on using the changeset viewer.