(svn r25925) -Fix: Textfile content was clipped incorrectly and was drawn past the bottom end. (LordAro)

This commit is contained in:
frosch 2013-10-28 12:15:44 +00:00
parent a249db1374
commit 0bc436fec9
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ void TextfileWindow::SetupScrollbars()
const int bottom = r.bottom - WD_FRAMETEXT_BOTTOM;
DrawPixelInfo new_dpi;
if (!FillDrawPixelInfo(&new_dpi, x, y, right - x + 1, r.bottom - y + 1)) return;
if (!FillDrawPixelInfo(&new_dpi, x, y, right - x + 1, bottom - y + 1)) return;
DrawPixelInfo *old_dpi = _cur_dpi;
_cur_dpi = &new_dpi;