summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-09 16:31:58 -0700
committerIra Rice <irarice@gmail.com>2009-02-09 16:31:58 -0700
commit1ae95b709235ce811ce72437aa257bb7500e00d0 (patch)
tree915a9954b245f66e23535becc15d5e8e66fcd04f /src/main.cpp
parent40edf4e91558cffd83d9015a2cf4a16360e27855 (diff)
downloadmana-1ae95b709235ce811ce72437aa257bb7500e00d0.tar.gz
mana-1ae95b709235ce811ce72437aa257bb7500e00d0.tar.bz2
mana-1ae95b709235ce811ce72437aa257bb7500e00d0.tar.xz
mana-1ae95b709235ce811ce72437aa257bb7500e00d0.zip
Changed AETHYRA_DATADIR to PKG_DATADIR.
Signed-off-by: Ira Rice <irarice@gmail.com>
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 73e0b0fe..1802c378 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(AETHYRA_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(AETHYRA_DATADIR "data/icons/aethyra.png");
+ SDL_Surface *icon = IMG_Load(PKG_DATADIR "data/icons/aethyra.png");
if (icon)
{
SDL_SetAlpha(icon, SDL_SRCALPHA, SDL_ALPHA_OPAQUE);