diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-21 00:54:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-21 01:19:46 +0300 |
commit | de51abd18f3cd9cd486837da69264b841d6cfff6 (patch) | |
tree | 0e3bd3244046c7ea88ad726e6219d7dd033e7bbc /src/utils/paths.cpp | |
parent | ad465929229a928d418c68b7786c18f95f170eba (diff) | |
download | manaplus-de51abd18f3cd9cd486837da69264b841d6cfff6.tar.gz manaplus-de51abd18f3cd9cd486837da69264b841d6cfff6.tar.bz2 manaplus-de51abd18f3cd9cd486837da69264b841d6cfff6.tar.xz manaplus-de51abd18f3cd9cd486837da69264b841d6cfff6.zip |
Improve physfs calls to get dir separator.
Diffstat (limited to 'src/utils/paths.cpp')
-rw-r--r-- | src/utils/paths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/paths.cpp b/src/utils/paths.cpp index 271178c23..f97ccafcb 100644 --- a/src/utils/paths.cpp +++ b/src/utils/paths.cpp @@ -79,7 +79,7 @@ bool checkPath(std::string path) std::string &fixDirSeparators(std::string &str) { - if (*PhysFs::getDirSeparator() == '/') + if (dirSeparator[0] == '/') return str; return replaceAll(str, "/", "\\"); |