diff options
author | frosch <frosch@openttd.org> | 2013-11-06 15:10:17 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-11-06 15:10:17 +0000 |
commit | df10f7b9f901da2f616f3b636a7d699c7a90126d (patch) | |
tree | 114733ba7f5bcec9ce7e5d9630de9e5c0febd412 | |
parent | cbcbcef1a089bb226e54a1b64743b5328baad2eb (diff) | |
download | openttd-df10f7b9f901da2f616f3b636a7d699c7a90126d.tar.xz |
(svn r25943) -Fix: NewGRF inspect window in RTL mode.
-rw-r--r-- | src/newgrf_debug_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_debug_gui.cpp b/src/newgrf_debug_gui.cpp index b2c82e5b3..66e50c1cd 100644 --- a/src/newgrf_debug_gui.cpp +++ b/src/newgrf_debug_gui.cpp @@ -348,7 +348,7 @@ struct NewGRFInspectWindow : Window { offset -= this->vscroll->GetPosition(); if (offset < 0 || offset >= this->vscroll->GetCapacity()) return; - ::DrawString(r.left + LEFT_OFFSET, r.right + RIGHT_OFFSET, r.top + TOP_OFFSET + (offset * this->resize.step_height), buf, TC_BLACK); + ::DrawString(r.left + LEFT_OFFSET, r.right - RIGHT_OFFSET, r.top + TOP_OFFSET + (offset * this->resize.step_height), buf, TC_BLACK); } virtual void DrawWidget(const Rect &r, int widget) const |