# HG changeset patch # User frosch # Date 2013-10-28 10:40:52 # Node ID 876bf926e0b22ac3e4865894ceecdac9be62e3ac # Parent f4bd8a2fe605c5edc18f2100c8ca74caa138f0a5 (svn r25920) -Fix: Story page content was clipped incorrectly and was drawn past the bottom end. diff --git a/src/story_gui.cpp b/src/story_gui.cpp --- 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;