Fixed bug for RTL languages.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-01-20 02:41:04 +00:00
parent ef35dfc72e
commit 4f9fcf0a9b

View File

@ -265,7 +265,11 @@ const wchar_t* Translations::w_gettext(const char* original)
if(*c)
while(*(c+1))
{
if( (*c!='i' && *c!='s') ) continue;
if( (*c!='i' && *c!='s') )
{
c++;
continue;
}
if (*(c+1)=='%')
{
*(c+1) = *c;