summaryrefslogtreecommitdiff
path: root/src/gui/widgets/label.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-08 13:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-08 17:55:40 +0300
commit9247c5a23757e01ef7ee91dd5655fcab177e5e6d (patch)
tree38e947cdaa6f1ec33651560b81851b7a255a58ac /src/gui/widgets/label.cpp
parentfcf53dd7d524c2204f39269be5768a1919daef42 (diff)
downloadmanaplus-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.gz
manaplus-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.bz2
manaplus-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.xz
manaplus-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.zip
fix code style.
Diffstat (limited to 'src/gui/widgets/label.cpp')
-rw-r--r--src/gui/widgets/label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp
index 64dce1a84..b500ec7bb 100644
--- a/src/gui/widgets/label.cpp
+++ b/src/gui/widgets/label.cpp
@@ -88,7 +88,7 @@ Label::Label(const Widget2 *const widget,
mAlignment(Graphics::LEFT),
mPadding(0)
{
- Font *const font = getFont();
+ const Font *const font = getFont();
if (font)
{
setWidth(font->getWidth(caption));