diff options
author | rubidium <rubidium@openttd.org> | 2010-11-13 09:56:25 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-13 09:56:25 +0000 |
commit | 30637a8340844abce2aab469295b4160d1f2d532 (patch) | |
tree | 9fd08dd8b612649aa6e27fa4f36ca4be3b587e97 /src/signs_gui.cpp | |
parent | 43f807a9189a1dde0260f40f8553bcc8050a3e1d (diff) | |
download | openttd-30637a8340844abce2aab469295b4160d1f2d532.tar.xz |
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r-- | src/signs_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp index 45564cc99..7a6032596 100644 --- a/src/signs_gui.cpp +++ b/src/signs_gui.cpp @@ -229,7 +229,7 @@ struct SignListWindow : QueryStringBaseWindow, SignList { return; } - bool rtl = _dynlang.text_dir == TD_RTL; + bool rtl = _current_text_dir == TD_RTL; int sprite_offset_y = (FONT_HEIGHT_NORMAL - 10) / 2 + 1; uint icon_left = 4 + (rtl ? r.right - this->text_offset : r.left); uint text_left = r.left + (rtl ? WD_FRAMERECT_LEFT : this->text_offset); |