Commit f6839d81 authored by EDT 1998 Matthew Wilson's avatar EDT 1998 Matthew Wilson Committed by Matt Wilson

set srcPR2.[xy] to srcPR1.[xy] in gimage_construct_composite_preview

Thu Apr 23 21:27:23 EDT 1998 Matthew Wilson <msw@gimp.org>

        * app/gimage.c: set srcPR2.[xy] to srcPR1.[xy] in
        gimage_construct_composite_preview (fixes hangs in preview creation)
--Matt
parent b986fcee
Thu Apr 23 21:27:23 EDT 1998 Matthew Wilson <msw@gimp.org>
* app/gimage.c: set srcPR2.[xy] to srcPR1.[xy] in
gimage_construct_composite_preview (fixes hangs in preview creation)
Tue Apr 21 15:11:21 EDT 1998 Matthew Wilson <msw@gimp.org>
* app/disp_callbacks.c: removed the tool reset when changing gdisplays
......
......@@ -2867,6 +2867,7 @@ gimage_construct_composite_preview (GImage *gimage, int width, int height)
layer_buf = layer_preview (layer, w, h);
src2PR.bytes = layer_buf->bytes;
src2PR.w = src1PR.w; src2PR.h = src1PR.h;
src2PR.x = src1PR.x; src2PR.y = src1PR.y;
src2PR.rowstride = layer_buf->width * src2PR.bytes;
src2PR.data = temp_buf_data (layer_buf) +
(y1 - y) * src2PR.rowstride + (x1 - x) * src2PR.bytes;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment