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
This commit is contained in:
parent
a28d92c76b
commit
3307b5a7f0
@ -81,7 +81,7 @@ GPInfoDialog::GPInfoDialog(const std::string& gpIdent, const float w, const floa
|
||||
|
||||
for (int t=0; t<trackAmount; t++)
|
||||
{
|
||||
const int from_y = y1 + height_of_one_line*(t+1);
|
||||
const int from_y = y1 + height_of_one_line*(t+1);
|
||||
|
||||
Track* track = track_manager->getTrack(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;
|
||||
|
Loading…
Reference in New Issue
Block a user