mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-25 07:15:35 +01:00
Fix compiler warning
This commit is contained in:
parent
9f38f7e6ea
commit
ee5dd52ec1
1 changed files with 1 additions and 1 deletions
|
|
@ -361,7 +361,7 @@ static void blur_scan_line(const float* kernel, const int kern_width, const QRgb
|
|||
scale = 0.0;
|
||||
k = kernel;
|
||||
src = source;
|
||||
for(i=0; i < columns; ++k, src+=offset){
|
||||
for(i=0; i < columns; ++k, src+=offset, ++i){
|
||||
if((i >= (x-kern_width/2)) && (i <= (x+kern_width/2))){
|
||||
aggregate.red += (*k)*qRed(*src);
|
||||
aggregate.green += (*k)*qGreen(*src);
|
||||
|
|
|
|||
Loading…
Reference in a new issue