mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r19438) -Fix [FS#3700]: Custom group names are misaligned with default ones when using rtl languages (sbr)
This commit is contained in:
parent
ca5f1adbf0
commit
6003b9f211
@ -400,7 +400,7 @@ public:
|
|||||||
|
|
||||||
/* draw the selected group in white, else we draw it in black */
|
/* draw the selected group in white, else we draw it in black */
|
||||||
SetDParam(0, g->index);
|
SetDParam(0, g->index);
|
||||||
DrawString(r.left + WD_FRAMERECT_LEFT + 8, r.right - WD_FRAMERECT_RIGHT, y1, STR_GROUP_NAME, (this->group_sel == g->index) ? TC_WHITE : TC_BLACK);
|
DrawString(r.left + WD_FRAMERECT_LEFT + 8, r.right - WD_FRAMERECT_RIGHT - 8, y1, STR_GROUP_NAME, (this->group_sel == g->index) ? TC_WHITE : TC_BLACK);
|
||||||
|
|
||||||
/* draw the number of vehicles of the group */
|
/* draw the number of vehicles of the group */
|
||||||
SetDParam(0, g->num_vehicle);
|
SetDParam(0, g->num_vehicle);
|
||||||
|
Loading…
Reference in New Issue
Block a user