mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
use DIR_SEP
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1347 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e4c6493130
commit
7df394955c
2 changed files with 3 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue