summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-10 21:57:09 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-10 21:57:09 +0100
commit9f2a8799eea3d609a3863a7732ec280d83f12e47 (patch)
tree719f9e8703211937fc2452055c7a8d5be05bd2f8 /src/main.cpp
parent53840c3fe951c77fa7965efcac4ed77b52da14d9 (diff)
parenta8a992ade40c9d68c9faec1cc3a54e7f064fb9d5 (diff)
downloadmana-9f2a8799eea3d609a3863a7732ec280d83f12e47.tar.gz
mana-9f2a8799eea3d609a3863a7732ec280d83f12e47.tar.bz2
mana-9f2a8799eea3d609a3863a7732ec280d83f12e47.tar.xz
mana-9f2a8799eea3d609a3863a7732ec280d83f12e47.zip
Merge branch 'aethyra/master'
Conflicts: docs/FAQ.txt packaging/windows/make-translations.vbs src/Makefile.am src/gui/colour.cpp src/gui/colour.h src/gui/popupmenu.cpp src/gui/setup_colours.h src/main.cpp src/main.h src/resources/resourcemanager.cpp src/text.cpp src/text.h src/textmanager.cpp src/textmanager.h
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 42f73eef..244f8972 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -332,7 +332,7 @@ void init_engine(const Options &options)
strncat(path, "/data", PATH_MAX - 1);
resman->addToSearchPath(path, true);
#else
- resman->addToSearchPath(TMW_DATADIR "data", true);
+ resman->addToSearchPath(PKG_DATADIR "data", true);
#endif
// Fill configuration with defaults
@@ -389,7 +389,7 @@ void init_engine(const Options &options)
SetClassLong(pInfo.window, GCL_HICON, (LONG) icon);
}
#else
- SDL_Surface *icon = IMG_Load(TMW_DATADIR "data/icons/tmw.png");
+ SDL_Surface *icon = IMG_Load(PKG_DATADIR "data/icons/tmw.png");
if (icon)
{
SDL_SetAlpha(icon, SDL_SRCALPHA, SDL_ALPHA_OPAQUE);