summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-25 23:04:21 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-25 23:19:55 +0200
commit70985f67295f3ee9e00487621e413b11287a20bf (patch)
tree818bee604c7ce38443158c908e2e6730ea3c0863
parent6c32e0783edd294a06b5b5fee45b9d4d7b14284e (diff)
downloadmana-70985f67295f3ee9e00487621e413b11287a20bf.tar.gz
mana-70985f67295f3ee9e00487621e413b11287a20bf.tar.bz2
mana-70985f67295f3ee9e00487621e413b11287a20bf.tar.xz
mana-70985f67295f3ee9e00487621e413b11287a20bf.zip
Fixed compiler warning about order of initialization
(cherry picked from commit d76a9210b07cdcf97ae4f94af429b5fa3e72b239)
-rw-r--r--src/gui/charselectdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index dd91af5c..bc30b632 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -94,11 +94,11 @@ CharSelectDialog::CharSelectDialog(LockedArray<LocalPlayer*> *charInfo,
LoginData *loginData):
Window(_("Account and Character Management")),
mCharInfo(charInfo),
- mCharSelected(false),
+ mLoginData(loginData),
+ mCharSelected(false)
#ifdef EATHENA_SUPPORT
- mGender(loginData->sex),
+ , mGender(loginData->sex)
#endif
- mLoginData(loginData)
{
mSelectButton = new Button(_("OK"), "ok", this);
mCancelButton = new Button(_("Cancel"), "cancel", this);