use DIR_SEP

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1347 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-11-30 17:23:38 +00:00
parent e4c6493130
commit 7df394955c
2 changed files with 3 additions and 5 deletions

View File

@ -167,9 +167,7 @@ bool CreateDirectoryStructure(const std::string& _rFullPath)
{
// find next sub path
{
size_t nextPosition = _rFullPath.find('/', Position);
if (nextPosition == std::string::npos)
nextPosition = _rFullPath.find('\\', Position);
size_t nextPosition = _rFullPath.find(DIR_SEP, Position);
Position = nextPosition;
if (Position == std::string::npos)