Changeset - r20897:8a05bbc84d25
[Not reviewed]
master
0 1 0
frosch - 11 years ago 2013-11-06 15:10:17
frosch@openttd.org
(svn r25943) -Fix: NewGRF inspect window in RTL mode.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_debug_gui.cpp
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)