Changeset 749 in dev for trunk/ab5.0/jenga/src/common
- Timestamp:
- Sep 15, 2008, 6:06:34 PM (16 years ago)
- Location:
- trunk/ab5.0/jenga/src/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/jenga/src/common/FileSystem.cpp
r694 r749 11 11 12 12 Jenga::Common::Path path( tempFindStr ); 13 std::string dirPath = path.GetD riveName() + path.GetDirName();13 std::string dirPath = path.GetDirPath(); 14 14 if( !dirPath.empty() && dirPath[dirPath.size()-1] == '\\' ) 15 15 { -
trunk/ab5.0/jenga/src/common/Path.cpp
r623 r749 79 79 std::string Jenga::Common::Path::ExtractDirPath( const std::string &filepath ) 80 80 { 81 Path path( filepath ); 82 std::string result = path.GetDriveName() + path.GetDirName(); 83 return result; 81 return Path( filepath ).GetDirPath(); 84 82 }
Note:
See TracChangeset
for help on using the changeset viewer.