summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 15:17:51 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 15:17:51 +0100
commit3efa949fca06f9a1cad04ff7da8107096ed55044 (patch)
treea1c7eba105129a028631c5be222140c014a66ae6 /src/gui/login.cpp
parente480ad5d269ca8dcd200397f7e6157b3e46c5c02 (diff)
downloadmana-3efa949fca06f9a1cad04ff7da8107096ed55044.tar.gz
mana-3efa949fca06f9a1cad04ff7da8107096ed55044.tar.bz2
mana-3efa949fca06f9a1cad04ff7da8107096ed55044.tar.xz
mana-3efa949fca06f9a1cad04ff7da8107096ed55044.zip
Simplified and fixed initialization of login data
Command line parameters were being overridden by old configuration settings.
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 281a25a2..de328fcc 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -45,7 +45,8 @@ static const int LOGIN_DIALOG_HEIGHT = 140;
static const int FIELD_WIDTH = LOGIN_DIALOG_WIDTH - 70;
LoginDialog::LoginDialog(LoginData *loginData):
- Window(_("Login")), mLoginData(loginData)
+ Window(_("Login")),
+ mLoginData(loginData)
{
gcn::Label *userLabel = new Label(_("Name:"));
gcn::Label *passLabel = new Label(_("Password:"));