Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -46,7 +46,7 @@ EnterPlayerNameDialog::EnterPlayerNameDialog(const float w, const float h) :
|
||||
|
||||
// ----
|
||||
|
||||
IGUIFont* font = GUIEngine::getFont();
|
||||
//IGUIFont* font = GUIEngine::getFont();
|
||||
const int textHeight = GUIEngine::getFontHeight();
|
||||
|
||||
const int textAreaYFrom = m_area.getHeight()/2 - textHeight/2;
|
||||
|
||||
@@ -44,7 +44,7 @@ RaceOverDialog::RaceOverDialog(const float percentWidth, const float percentHeig
|
||||
//const int w = m_area.getWidth();
|
||||
//const int h = m_area.getHeight();
|
||||
|
||||
IGUIFont* font = GUIEngine::getFont();
|
||||
//IGUIFont* font = GUIEngine::getFont();
|
||||
const int text_height = GUIEngine::getFontHeight();
|
||||
|
||||
const int button_h = text_height + 6;
|
||||
|
||||
Reference in New Issue
Block a user