summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/palettedb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/palettedb.cpp b/src/resources/db/palettedb.cpp
index 3c7abe6af..3ad2b13fa 100644
--- a/src/resources/db/palettedb.cpp
+++ b/src/resources/db/palettedb.cpp
@@ -49,8 +49,8 @@ void PaletteDB::loadPalette()
{
mLoaded = true;
StringVect lines;
- Files::loadTextFile(paths.getStringValue(
- "defaultPaletteFile"),
+ Files::loadTextFile(paths.getStringValue("palettesDir") +
+ paths.getStringValue("defaultPaletteFile"),
lines);
StringVectCIter it = lines.begin();
if (it == lines.end())