fixed calculation of offset into the source buffer (bug #353639).
2006-09-11 Sven Neumann <sven@gimp.org> * libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_area): fixed calculation of offset into the source buffer (bug #353639).
This commit is contained in:

committed by
Sven Neumann

parent
7a21918c54
commit
6a33302009
@ -1,3 +1,8 @@
|
||||
2006-09-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_area):
|
||||
fixed calculation of offset into the source buffer (bug #353639).
|
||||
|
||||
2006-09-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-selection.c: minor cleanup.
|
||||
|
@ -430,7 +430,9 @@ gimp_drawable_preview_draw_area (GimpDrawablePreview *preview,
|
||||
draw_height,
|
||||
gimp_drawable_type (drawable->drawable_id),
|
||||
src, draw_width * drawable->bpp,
|
||||
buf + (draw_x - x) + (draw_y - y) * rowstride,
|
||||
(buf +
|
||||
(draw_x - x) * drawable->bpp +
|
||||
(draw_y - y) * rowstride),
|
||||
rowstride,
|
||||
sel, draw_width);
|
||||
|
||||
|
Reference in New Issue
Block a user