aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorChris Apers2004-10-08 16:09:52 +0000
committerChris Apers2004-10-08 16:09:52 +0000
commit757f2fdcefde1606e822acf00f0e6b783bd3174f (patch)
tree3fb1042806eca2b55b3df0f72f60153ae6ea8225 /saga
parenta34c7e4b812705891eb76ead1f46b35f01b67f0d (diff)
downloadscummvm-rg350-757f2fdcefde1606e822acf00f0e6b783bd3174f.tar.gz
scummvm-rg350-757f2fdcefde1606e822acf00f0e6b783bd3174f.tar.bz2
scummvm-rg350-757f2fdcefde1606e822acf00f0e6b783bd3174f.zip
Prevent double slash in path
svn-id: r15473
Diffstat (limited to 'saga')
-rw-r--r--saga/saga.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/saga/saga.cpp b/saga/saga.cpp
index df42153402..dec9c8d657 100644
--- a/saga/saga.cpp
+++ b/saga/saga.cpp
@@ -83,13 +83,13 @@ SagaEngine::SagaEngine(GameDetector *detector, OSystem *syst)
// The Linux version of Inherit the Earth puts all data files in an
// 'itedata' sub-directory, except for voices.rsc
- File::addDefaultDirectory(_gameDataPath + "/itedata/");
+ File::addDefaultDirectory(_gameDataPath + "itedata/");
// The Windows version of Inherit the Earth puts various data files in
// other subdirectories.
- File::addDefaultDirectory(_gameDataPath + "/graphics/");
- File::addDefaultDirectory(_gameDataPath + "/music/");
- File::addDefaultDirectory(_gameDataPath + "/sound/");
+ File::addDefaultDirectory(_gameDataPath + "graphics/");
+ File::addDefaultDirectory(_gameDataPath + "music/");
+ File::addDefaultDirectory(_gameDataPath + "sound/");
// Setup mixer
if (!_mixer->isReady()) {