summaryrefslogtreecommitdiff
path: root/src/gui/widgets/passwordfield.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-13 13:49:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-14 02:14:18 +0300
commit72938b640199d03d6092366224d3927d5d2a33b9 (patch)
treec7e57d69da40085ba835d2e22d1a3d59ab201fe5 /src/gui/widgets/passwordfield.cpp
parentc4cef10f92a8ff3fc668e0644d38744dccd06392 (diff)
downloadmanaverse-72938b640199d03d6092366224d3927d5d2a33b9.tar.gz
manaverse-72938b640199d03d6092366224d3927d5d2a33b9.tar.bz2
manaverse-72938b640199d03d6092366224d3927d5d2a33b9.tar.xz
manaverse-72938b640199d03d6092366224d3927d5d2a33b9.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets/passwordfield.cpp')
-rw-r--r--src/gui/widgets/passwordfield.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/passwordfield.cpp b/src/gui/widgets/passwordfield.cpp
index d6d310616..0d0303869 100644
--- a/src/gui/widgets/passwordfield.cpp
+++ b/src/gui/widgets/passwordfield.cpp
@@ -30,7 +30,8 @@ PasswordField::PasswordField(const Widget2 *const widget,
const std::string &text) :
TextField(widget, text),
mPasswordChar(mSkin ? static_cast<unsigned char>(
- mSkin->getOption("passwordChar", 42)) : 42U)
+ mSkin->getOption("passwordChar", 42))
+ : static_cast<unsigned char>(42U))
{
}