From 7fbe7895ef60c76a971da52f54075569d6320362 Mon Sep 17 00:00:00 2001 From: frosch Date: Mon, 28 Oct 2013 10:40:52 +0000 Subject: [PATCH] (svn r25920) -Fix: Story page content was clipped incorrectly and was drawn past the bottom end. --- src/story_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/story_gui.cpp b/src/story_gui.cpp index 7a23dec7d3..1e0bc09da6 100644 --- a/src/story_gui.cpp +++ b/src/story_gui.cpp @@ -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;