summaryrefslogtreecommitdiff
path: root/src
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
parent70e506eeae6bde07d0af1f5fb2b2d9797b515c58 (diff)
downloadmv-3997e89e06844c78aca425537911d5fbd090bf51.tar.gz
mv-3997e89e06844c78aca425537911d5fbd090bf51.tar.bz2
mv-3997e89e06844c78aca425537911d5fbd090bf51.tar.xz
mv-3997e89e06844c78aca425537911d5fbd090bf51.zip
Fix compilation warnings.
Diffstat (limited to 'src')
-rw-r--r--src/guild.cpp1
-rw-r--r--src/main.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/guild.cpp b/src/guild.cpp
index 21c066070..c7a9c0cdc 100644
--- a/src/guild.cpp
+++ b/src/guild.cpp
@@ -184,6 +184,7 @@ void Guild::removeMember(const std::string &name)
itr_end = mMembers.end();
while (deleted)
{
+ deleted = false;
while (itr != itr_end)
{
if ((*itr)->getName() == name)
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