summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-19 12:04:12 -0700
committerIra Rice <irarice@gmail.com>2009-01-19 12:04:12 -0700
commit2b5947171bfa4cdad73bb87d7195408fca4e685a (patch)
tree18031046af095edd65b5f4b2c61c944b68767bb6 /src/resources
parentfa007dafa2c499425e7112095cbda9c2ff5ea20c (diff)
downloadmana-2b5947171bfa4cdad73bb87d7195408fca4e685a.tar.gz
mana-2b5947171bfa4cdad73bb87d7195408fca4e685a.tar.bz2
mana-2b5947171bfa4cdad73bb87d7195408fca4e685a.tar.xz
mana-2b5947171bfa4cdad73bb87d7195408fca4e685a.zip
Fixed a directory creation error reported by our Windows users (why
doesn't PhysFS handle this properly?!?) when there's already an update directory. Also fixed the recorder class so that it's fixed on Windows as well. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resourcemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 99b84506..7f2cba1d 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -153,8 +153,8 @@ bool ResourceManager::addToSearchPath(const std::string &path, bool append)
}
void ResourceManager::searchAndAddArchives(const std::string &path,
- const std::string &ext,
- bool append)
+ const std::string &ext,
+ bool append)
{
const char *dirSep = PHYSFS_getDirSeparator();
char **list = PHYSFS_enumerateFiles(path.c_str());