diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-27 16:48:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:15:05 +0300 |
commit | cdc721a1c6c5cf80736101352161b66ea3f90c50 (patch) | |
tree | c32e7e25fe1ad6f23efd2dc50c4eeb5431967249 /src/gui/widgets/textbox.cpp | |
parent | cc78907ee5b2ed84760534897f88f8c1fcce957d (diff) | |
download | manaverse-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.gz manaverse-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.bz2 manaverse-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.xz manaverse-cdc721a1c6c5cf80736101352161b66ea3f90c50.zip |
Remove set font from graphics object.
Diffstat (limited to 'src/gui/widgets/textbox.cpp')
-rw-r--r-- | src/gui/widgets/textbox.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/widgets/textbox.cpp b/src/gui/widgets/textbox.cpp index 976d7f772..e5e8b50e5 100644 --- a/src/gui/widgets/textbox.cpp +++ b/src/gui/widgets/textbox.cpp @@ -357,7 +357,6 @@ void TextBox::draw(gcn::Graphics* graphics) graphics->setColor(mForegroundColor); gcn::Font *const font = getFont(); - graphics->setFont(font); const int fontHeight = font->getHeight(); for (size_t i = 0, sz = mTextRows.size(); i < sz; i++) |