diff options
author | rubidium <rubidium@openttd.org> | 2010-03-16 20:15:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-03-16 20:15:38 +0000 |
commit | b7a7f908f92db57aac73865badd19a05e8410b15 (patch) | |
tree | 1b8f2df5f61321cef812a6dd3190b22915bf4696 | |
parent | d48775f4d492e64659488dd4ad43f8e7113bf74f (diff) | |
download | openttd-b7a7f908f92db57aac73865badd19a05e8410b15.tar.xz |
(svn r19438) -Fix [FS#3700]: Custom group names are misaligned with default ones when using rtl languages (sbr)
-rw-r--r-- | src/group_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index dd8c71747..3ce991bee 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -400,7 +400,7 @@ public: /* draw the selected group in white, else we draw it in black */ 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 */ SetDParam(0, g->num_vehicle); |