yaft: fix off-by-one in blit area calculation

Origin commit data
------------------
Branch: ni/coolstream
Commit: ba1468be79
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-02-18 (Sun, 18 Feb 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2018-02-18 20:59:22 +01:00
committed by vanhofen
parent 458b6d73c9
commit 6aa4fbe2b8

View File

@@ -749,8 +749,8 @@ void YaFT_p::draw_line(int line)
if (fb.dy_min > line * CELL_HEIGHT)
fb.dy_min = line * CELL_HEIGHT;
if (fb.dy_max < (line+1) * CELL_HEIGHT - 1)
fb.dy_max = (line+1) * CELL_HEIGHT - 1;
if (fb.dy_max < (line+1) * CELL_HEIGHT)
fb.dy_max = (line+1) * CELL_HEIGHT;
for (col = 0; col < cols; col++) {
/* target cell */