summaryrefslogtreecommitdiff
path: root/src/progs/manaplus/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-30 03:55:29 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-30 03:55:49 +0300
commit4ea05d37c952b80105a5623865c3dfec35a1bfd5 (patch)
tree078a726682dfd2cefcb3df8b7475278c44d56336 /src/progs/manaplus/client.cpp
parentaf506ac53ca3308a1d77d040c429c2b51e3147b0 (diff)
downloadmanaverse-4ea05d37c952b80105a5623865c3dfec35a1bfd5.tar.gz
manaverse-4ea05d37c952b80105a5623865c3dfec35a1bfd5.tar.bz2
manaverse-4ea05d37c952b80105a5623865c3dfec35a1bfd5.tar.xz
manaverse-4ea05d37c952b80105a5623865c3dfec35a1bfd5.zip
Fix left style issues from switch port merging
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r--src/progs/manaplus/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index 349f02b4b..8670ae4ab 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -863,7 +863,8 @@ void Client::stateConnectServer1()
#ifdef SAVE_PASSWORD
LoginDialog::savedPassword = loginData.remember ?
serverConfig.getValue("password", "") : "";
- loginData.password = settings.options.password = LoginDialog::savedPassword;
+ loginData.password = LoginDialog::savedPassword;
+ settings.options.password = LoginDialog::savedPassword;
#endif
settings.login = loginData.username;
WindowManager::updateTitle();