Commit 3d1bb799 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

windowscodecs: Fix copy_pixels when Y != 0.

parent c3ce7b5d
......@@ -76,7 +76,7 @@ HRESULT copy_pixels(UINT bpp, const BYTE *srcbuffer,
const BYTE *src;
BYTE *dst;
src = srcbuffer + (row_offset / 8);
src = srcbuffer + (row_offset / 8) + srcstride * rc->Y;
dst = dstbuffer;
for (row=0; row < rc->Height; row++)
{
......
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