summaryrefslogtreecommitdiff
path: root/src/gui/windows/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-12 20:53:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-12 20:53:30 +0300
commit387493ed0772f266dc323816d2e124c32fcae931 (patch)
tree16eaa9d38099c38d98d5390c6661028f551d7c60 /src/gui/windows/serverdialog.cpp
parentc029c05437d0a730494600edf2304caf3b1eead5 (diff)
downloadplus-387493ed0772f266dc323816d2e124c32fcae931.tar.gz
plus-387493ed0772f266dc323816d2e124c32fcae931.tar.bz2
plus-387493ed0772f266dc323816d2e124c32fcae931.tar.xz
plus-387493ed0772f266dc323816d2e124c32fcae931.zip
Fix code style.
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r--src/gui/windows/serverdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 5299d4fd1..509b04fda 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -49,6 +49,10 @@
#include "debug.h"
+#ifdef WIN32
+#undef ERROR
+#endif
+
static const int MAX_SERVERLIST = 15;
static std::string serverTypeToString(const ServerTypeT type)