diff options
| author | nakeee <nakeee@gmail.com> | 2008-12-01 15:41:02 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2008-12-01 15:41:02 +0000 |
| commit | 751124bb68ba86cc853526ff63b96d4fd1258c31 (patch) | |
| tree | d74743ae4e655137c56ef6cf2ba334a54f8f530a /Source/Core/Common/Src/FileUtil.cpp | |
| parent | 159d33a25146aade449eaef75f8291e2b6f051f2 (diff) | |
small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1369 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 3bee9ce29f..f018c7dae4 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -168,9 +168,7 @@ bool CreateDirectoryStructure(const std::string& _rFullPath) {
// Find next sub path, support both \ and / directory separators
{
- size_t nextPosition = _rFullPath.find('/', Position);
- if (nextPosition == std::string::npos)
- nextPosition = _rFullPath.find('\\', Position);
+ size_t nextPosition = _rFullPath.find(DIR_SEP_CHR, Position);
Position = nextPosition;
if (Position == std::string::npos)
|
