Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-16 16:34:15 +0000
committerStijn Buys <ingar@osirion.org>2008-10-16 16:34:15 +0000
commit1a28393dabf4f4696bf433ddde52e7a25253c955 (patch)
tree4d4fa4034f30fc882a78ab6ea148a32e83b9e88c /src/filesystem/filesystem.cc
parent1e0df536c2fae85c317ce9c3cc17603d5f98c911 (diff)
various user interface related updates
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()