summaryrefslogtreecommitdiff
path: root/src/fs/virtfs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-27 20:11:41 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-27 20:11:41 +0300
commit8676d623ec8f395194f4a9e93cfbbccc969a0d03 (patch)
treeae1024fc79acb71945c71c5edf7cb836b8d3690d /src/fs/virtfs.cpp
parent0018db94c954ee8eb3764c688a7ff7d3324ddee0 (diff)
downloadplus-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/virtfs.cpp')
-rw-r--r--src/fs/virtfs.cpp6
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()