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
committerIra Rice <irarice@gmail.com>2009-02-18 13:19:11 -0700
commitc3f7f72f37adad5103587069ff549798fc9d652d (patch)
treedf268b0bfd478cb3f4d740b1bce9a882bc70c538 /src/gui/char_server.cpp
parentb8f0e1755ae8c6acf9bc681a83f18ef6ff0a1172 (diff)
downloadMana-c3f7f72f37adad5103587069ff549798fc9d652d.tar.gz
Mana-c3f7f72f37adad5103587069ff549798fc9d652d.tar.bz2
Mana-c3f7f72f37adad5103587069ff549798fc9d652d.tar.xz
Mana-c3f7f72f37adad5103587069ff549798fc9d652d.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 60f8f5dd..6977a104 100644
--- a/src/gui/char_server.cpp
+++ b/src/gui/char_server.cpp
@@ -30,7 +30,7 @@
#include "../serverinfo.h"
#include "../utils/gettext.h"
-#include "../utils/tostring.h"
+#include "../utils/stringutils.h"
extern SERVER_INFO **server_info;
@@ -102,7 +102,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;