summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
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 d86d93f61..f646e4ee1 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -677,8 +677,8 @@ void ServerDialog::saveCustomServers(const ServerInfo &currentServer,
}
else
{
- ServerInfos::iterator i, i_end = mServers.end();
- for (i = mServers.begin(); i != i_end; ++i)
+ for (ServerInfos::iterator i = mServers.begin(),
+ i_end = mServers.end(); i != i_end; ++i)
{
if (*i == currentServer)
{