summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-18 17:22:46 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-18 17:25:39 +0100
commit6fd1246735010bccd0d75e9e7969431b963b7858 (patch)
treebc92ba46c7fa966e44519317dc9e53e7008ef050 /src/gui/serverdialog.cpp
parente30673821b6bd79d21e9443b5fe7f4a093b98dbc (diff)
downloadmana-6fd1246735010bccd0d75e9e7969431b963b7858.tar.gz
mana-6fd1246735010bccd0d75e9e7969431b963b7858.tar.bz2
mana-6fd1246735010bccd0d75e9e7969431b963b7858.tar.xz
mana-6fd1246735010bccd0d75e9e7969431b963b7858.zip
Fixed manaserv-enabled builds
Wrong define was used in the code.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 66afe912..5c1d35a1 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -282,7 +282,7 @@ void ServerDialog::action(const gcn::ActionEvent &event)
// Check login
if (index < 0
-#ifndef ENABLE_MANASERV
+#ifndef MANASERV_SUPPORT
|| mServersListModel->getServer(index).type == ServerInfo::MANASERV
#endif
)
@@ -475,7 +475,7 @@ void ServerDialog::loadServers()
// Ignore unknown server types
if (server.type == ServerInfo::UNKNOWN
-#ifndef ENABLE_MANASERV
+#ifndef MANASERV_SUPPORT
|| server.type == ServerInfo::MANASERV
#endif
)