mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Swap ( and ) with right2left reading
This commit is contained in:
parent
1556db8d05
commit
d25280490e
11
src/text.cxx
11
src/text.cxx
@ -212,7 +212,16 @@ DrawText (
|
||||
numberSize--;
|
||||
}
|
||||
|
||||
rank = GetOffset (pText);
|
||||
rank = GetOffset (pText);
|
||||
|
||||
if (IsRightReading ())
|
||||
{
|
||||
if (rank == '(')
|
||||
rank = ')';
|
||||
else if (rank == ')')
|
||||
rank = '(';
|
||||
}
|
||||
|
||||
auto inc = rank > 127;
|
||||
auto lg = GetCharWidth (pText, font);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user