mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
committed by
vanhofen
parent
458b6d73c9
commit
6aa4fbe2b8
@@ -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 */
|
||||
|
Reference in New Issue
Block a user