From 3ad53d1999167bdf1f045d47f7bebccc623f819e Mon Sep 17 00:00:00 2001 From: auria Date: Tue, 1 Sep 2009 22:15:17 +0000 Subject: [PATCH] Fixed display issue in race results screen git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3980 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/states_screens/dialogs/race_over_dialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/states_screens/dialogs/race_over_dialog.cpp b/src/states_screens/dialogs/race_over_dialog.cpp index 5593b0897..a989cd3bb 100644 --- a/src/states_screens/dialogs/race_over_dialog.cpp +++ b/src/states_screens/dialogs/race_over_dialog.cpp @@ -89,7 +89,7 @@ RaceOverDialog::RaceOverDialog(const float percentWidth, const float percentHeig const Kart *current_kart = RaceManager::getKart(order[i]); const stringw& kart_name = current_kart->getName(); - + char sTime[20]; sTime[0]=0; @@ -128,7 +128,7 @@ RaceOverDialog::RaceOverDialog(const float percentWidth, const float percentHeig const int icon_size = textHeight; core::rect< s32 > entry_area(10 + icon_size, lines_from_y+line_h*i, m_area.getWidth(), lines_from_y+line_h*(i+1)); - core::rect< s32 > icon_area(5, lines_from_y + line_h*i, 5+icon_size, lines_from_y+icon_size); + core::rect< s32 > icon_area(5, lines_from_y + line_h*i, 5+icon_size, lines_from_y+ line_h*i + icon_size); std::wcout << kart_results_line.c_str() << std::endl;