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:
auria
2009-12-30 19:24:21 +00:00
parent a6efeb5faa
commit 955eab93d2
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;