diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-27 20:11:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-27 20:11:41 +0300 |
commit | 8676d623ec8f395194f4a9e93cfbbccc969a0d03 (patch) | |
tree | ae1024fc79acb71945c71c5edf7cb836b8d3690d /src/fs | |
parent | 0018db94c954ee8eb3764c688a7ff7d3324ddee0 (diff) | |
download | plus-8676d623ec8f395194f4a9e93cfbbccc969a0d03.tar.gz plus-8676d623ec8f395194f4a9e93cfbbccc969a0d03.tar.bz2 plus-8676d623ec8f395194f4a9e93cfbbccc969a0d03.tar.xz plus-8676d623ec8f395194f4a9e93cfbbccc969a0d03.zip |
Use own dir separator in virtfs.
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/virtfs.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fs/virtfs.cpp b/src/fs/virtfs.cpp index 833d31bd2..6aee3b76a 100644 --- a/src/fs/virtfs.cpp +++ b/src/fs/virtfs.cpp @@ -39,7 +39,11 @@ namespace VirtFs void updateDirSeparator() { - dirSeparator = VirtFsPhys::getDirSeparator(); +#ifdef WIN32 + dirSeparator = "\\"; +#else // WIN32 + dirSeparator = "/"; +#endif // WIN32 } const char *getDirSeparator() |