Fix imlib_render_image_part_on_drawable_at_size() ...

... when using color modifier and not scaling (ticket 576).

SVN revision: 51846
This commit is contained in:
Kim Woelders 2010-09-02 21:19:49 +00:00
parent 43def7af7b
commit 9daceb518d
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ __imlib_RenderImage(Display * d, ImlibImage * im,
}
memcpy(buf, im->data + ((y + sy) * im->w),
im->w * hh * sizeof(DATA32));
__imlib_DataCmodApply(buf, dw, hh, im->w - dw, NULL, cmod);
__imlib_DataCmodApply(buf, im->w, hh, 0, NULL, cmod);
pointer = buf + sx;
jump = im->w - sw;
}