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/dropdown.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gui/widgets/dropdown.cpp') diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index ec564146e..384371107 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -228,7 +228,6 @@ void DropDown::draw(gcn::Graphics* graphics) if (mPopup->getListModel() && mPopup->getSelected() >= 0) { gcn::Font *const font = getFont(); - graphics->setFont(font); graphics->setColor(mForegroundColor); font->drawString(graphics, mPopup->getListModel()->getElementAt( mPopup->getSelected()), mPadding, mPadding); -- cgit v1.2.3-70-g09d2