forked from mirror/OpenTTD
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
This commit is contained in:
@@ -994,7 +994,7 @@ struct MessageHistoryWindow : Window {
|
||||
|
||||
/* Fill the widget with news items. */
|
||||
int y = r.top + this->top_spacing;
|
||||
bool rtl = _dynlang.text_dir == TD_RTL;
|
||||
bool rtl = _current_text_dir == TD_RTL;
|
||||
uint date_left = rtl ? r.right - WD_FRAMERECT_RIGHT - this->date_width : r.left + WD_FRAMERECT_LEFT;
|
||||
uint date_right = rtl ? r.right - WD_FRAMERECT_RIGHT : r.left + WD_FRAMERECT_LEFT + this->date_width;
|
||||
uint news_left = rtl ? r.left + WD_FRAMERECT_LEFT : r.left + WD_FRAMERECT_LEFT + this->date_width + WD_FRAMERECT_RIGHT;
|
||||
|
Reference in New Issue
Block a user