Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesystem/filesystem.cc')
-rw-r--r--src/filesystem/filesystem.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/filesystem/filesystem.cc b/src/filesystem/filesystem.cc
index 3404296..a8fca1d 100644
--- a/src/filesystem/filesystem.cc
+++ b/src/filesystem/filesystem.cc
@@ -153,12 +153,15 @@ void init(std::string const & basename, std::string const & modname)
// print search path
for (SearchPath::iterator path = filesystem_searchpath.begin(); path != filesystem_searchpath.end(); ++path) {
- con_print << " " << (*path) << std::endl;
+#ifdef _WIN32
+ for (size_t i = 0; i < (*path).size(); i++)
+ if ((*path)[i] == '/') (*path)[i] = '\\';
+#endif
+ con_print << " directory: " << (*path) << std::endl;
}
- con_print << " " << filesystem_searchpath.size() << " directories added to searchpath" << std::endl;
// create writedir
- con_print << " files are created in " << filesystem_writedir << std::endl;
+ con_print << " home directory: " << filesystem_writedir << std::endl;
}
void shutdown()