From cdc721a1c6c5cf80736101352161b66ea3f90c50 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Dec 2012 16:48:32 +0300 Subject: Remove set font from graphics object. --- src/gui/widgets/textbox.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gui/widgets/textbox.cpp') 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++) -- cgit v1.2.3-60-g2f50