diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-07-28 17:39:41 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-07-28 17:39:41 +0000 |
commit | 3fe829466ac7a0cd97d139c0b691813b99bddc12 (patch) | |
tree | 6fbdc5742caeea20b20dee140e1d0389aca74256 | |
parent | 008105a37dc1839a325b81f0a0f269d5d4e06e16 (diff) | |
download | mana-3fe829466ac7a0cd97d139c0b691813b99bddc12.tar.gz mana-3fe829466ac7a0cd97d139c0b691813b99bddc12.tar.bz2 mana-3fe829466ac7a0cd97d139c0b691813b99bddc12.tar.xz mana-3fe829466ac7a0cd97d139c0b691813b99bddc12.zip |
Fix usage of a wrong dir-separator.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/resources/resourcemanager.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -11,6 +11,8 @@ * src/being.cpp, src/being.h, src/engine.cpp, src/game.cpp, src/game.h, src/gui/gui.cpp, src/net/protocol.cpp: Added an action enumeration to the Being class and removed the old #define's. + * src/resources/resourcemanager.cpp: Fixed a location where a wrong + dir-separator was used. 2005-07-27 Bjørn Lindeijer <bjorn@lindeijer.nl> diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index c757e35b..d58bf791 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -205,7 +205,7 @@ ResourceManager::searchAndAddArchives( if (len > ext.length() && !ext.compare((*i)+(len - ext.length()))) { std::string file, realPath, archive; - file = path + dirSep + (*i); + file = path + "/" + (*i); realPath = std::string(PHYSFS_getRealDir(file.c_str())); archive = realPath + path + dirSep + (*i); |