summaryrefslogtreecommitdiff
path: root/src/gui/char_server.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-18 20:14:23 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-18 20:16:53 +0100
commit7e43b82e3b7cda034fab34c15ecfaa97c1a99146 (patch)
tree71e24c3ef685d95b8fdf6c548a46b8516915d339 /src/gui/char_server.cpp
parent9568a305878d0c035e027c1ed6c9a24147a0adea (diff)
downloadmana-client-7e43b82e3b7cda034fab34c15ecfaa97c1a99146.tar.gz
mana-client-7e43b82e3b7cda034fab34c15ecfaa97c1a99146.tar.bz2
mana-client-7e43b82e3b7cda034fab34c15ecfaa97c1a99146.tar.xz
mana-client-7e43b82e3b7cda034fab34c15ecfaa97c1a99146.zip
Introduced a toLower method and grouped string utils
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
Diffstat (limited to 'src/gui/char_server.cpp')
-rw-r--r--src/gui/char_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp
index 8e7b0dbc..89bfa93a 100644
--- a/src/gui/char_server.cpp
+++ b/src/gui/char_server.cpp
@@ -29,7 +29,7 @@
#include "../serverinfo.h"
#include "../utils/gettext.h"
-#include "../utils/tostring.h"
+#include "../utils/stringutils.h"
extern SERVER_INFO **server_info;
@@ -101,7 +101,7 @@ void ServerSelectDialog::action(const gcn::ActionEvent &event)
{
mOkButton->setEnabled(false);
const SERVER_INFO *si = server_info[mServerList->getSelected()];
- mLoginData->hostname = iptostring(si->address);
+ mLoginData->hostname = ipToString(si->address);
mLoginData->port = si->port;
mLoginData->updateHost = si->updateHost;
state = mNextState;