summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-01 01:02:21 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-01 01:02:21 +0300
commit3997e89e06844c78aca425537911d5fbd090bf51 (patch)
tree38c32e603366dd0f64bc8e03fcb5192185759770 /src/main.cpp
parent70e506eeae6bde07d0af1f5fb2b2d9797b515c58 (diff)
downloadplus-3997e89e06844c78aca425537911d5fbd090bf51.tar.gz
plus-3997e89e06844c78aca425537911d5fbd090bf51.tar.bz2
plus-3997e89e06844c78aca425537911d5fbd090bf51.tar.xz
plus-3997e89e06844c78aca425537911d5fbd090bf51.zip
Fix compilation warnings.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index beb23a72c..a170cf513 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -196,7 +196,7 @@ static void initInternationalization()
// mingw doesn't like LOCALEDIR to be defined for some reason
bindtextdomain("manaplus", "translations/");
#else
-#if ENABLE_PORTABLE
+#ifdef ENABLE_PORTABLE
bindtextdomain("manaplus", (std::string(PHYSFS_getBaseDir())
+ "../locale/").c_str());
#else