Changeset - r20876:876bf926e0b2
[Not reviewed]
master
0 1 0
frosch - 11 years ago 2013-10-28 10:40:52
frosch@openttd.org
(svn r25920) -Fix: Story page content was clipped incorrectly and was drawn past the bottom end.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/story_gui.cpp
Show inline comments
 
@@ -508,7 +508,7 @@ public:
 

	
 
		/* Set up a clipping region for the panel. */
 
		DrawPixelInfo tmp_dpi;
 
		if (!FillDrawPixelInfo(&tmp_dpi, x, y, right - x + 1, r.bottom - y + 1)) return;
 
		if (!FillDrawPixelInfo(&tmp_dpi, x, y, right - x + 1, bottom - y + 1)) return;
 

	
 
		DrawPixelInfo *old_dpi = _cur_dpi;
 
		_cur_dpi = &tmp_dpi;
0 comments (0 inline, 0 general)