From 3307b5a7f0a9c058cd3f4917e879d2f6a965af3e Mon Sep 17 00:00:00 2001 From: auria Date: Wed, 2 Feb 2011 00:20:28 +0000 Subject: [PATCH] Fixed RTL glitch, GP tracks names were not passed into fribidi git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7576 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/states_screens/dialogs/gp_info_dialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/states_screens/dialogs/gp_info_dialog.cpp b/src/states_screens/dialogs/gp_info_dialog.cpp index 736fd2ffc..f6b646342 100644 --- a/src/states_screens/dialogs/gp_info_dialog.cpp +++ b/src/states_screens/dialogs/gp_info_dialog.cpp @@ -81,7 +81,7 @@ GPInfoDialog::GPInfoDialog(const std::string& gpIdent, const float w, const floa for (int t=0; tgetTrack(tracks[t]); stringw lineText; @@ -97,7 +97,7 @@ GPInfoDialog::GPInfoDialog(const std::string& gpIdent, const float w, const floa } LabelWidget* widget = new LabelWidget(); - widget->setText(lineText); + widget->setText(translations->fribidize(lineText)); widget->m_x = 20; widget->m_y = from_y; widget->m_w = m_area.getWidth()/2 - 20;