Changeset 718 in dev for trunk/ab5.0/jenga/src/common/Directory.cpp
- Timestamp:
- Aug 13, 2008, 10:42:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/jenga/src/common/Directory.cpp
r694 r718 8 8 if ( isMake ) 9 9 { 10 if (!::MakeSureDirectoryPathExists(path.c_str())) 10 std::string tempPath = path; 11 if( !tempPath.empty() && tempPath[tempPath.size()-1] != '\\' ) 12 { 13 tempPath += "\\"; 14 } 15 if (!::MakeSureDirectoryPathExists(tempPath.c_str())) 11 16 { 12 17 Jenga::Throw( "MakeSureDirectoryPathExists failed!" );
Note:
See TracChangeset
for help on using the changeset viewer.