summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-18 18:40:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-18 18:40:59 +0300
commit31cce4c22b369148f77d7092903af9462d8151c8 (patch)
treebd11e598db5ff6e17d3f0b283c44e333ac37d696 /src/gui
parente6afa441a57718205c1f62bcbc0a5443fd513aa3 (diff)
downloadmanaplus-31cce4c22b369148f77d7092903af9462d8151c8.tar.gz
manaplus-31cce4c22b369148f77d7092903af9462d8151c8.tar.bz2
manaplus-31cce4c22b369148f77d7092903af9462d8151c8.tar.xz
manaplus-31cce4c22b369148f77d7092903af9462d8151c8.zip
Fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/itempopup.cpp2
-rw-r--r--src/gui/windows/logindialog.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp
index df245370c..36f971849 100644
--- a/src/gui/popups/itempopup.cpp
+++ b/src/gui/popups/itempopup.cpp
@@ -124,7 +124,7 @@ void ItemPopup::setItem(const Item *const item, const bool showImage)
}
else
{
- mItemName->setCaption(strprintf("%s (+%d), %d",
+ mItemName->setCaption(strprintf("%s (+%u), %d",
ii.getName().c_str(),
static_cast<unsigned int>(item->getRefine()),
ii.getId()));
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index af87605d3..510470ada 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -174,7 +174,7 @@ void LoginDialog::postInit()
{
setVisible(true);
- int h = 200;
+ const int h = 200;
if (mUpdateHostLabel)
setContentSize(310, 250);
setContentSize(310, h);