wing32: Use the correct size for memcpy (coverity).

This commit is contained in:
André Hentschel 2012-10-22 19:56:41 +02:00 committed by Alexandre Julliard
parent 859bf8d9e9
commit 7b07e015a9

View file

@ -72,7 +72,7 @@ void * WINAPI WinGGetDIBPointer( HBITMAP hbmp, BITMAPINFO *bmi )
if (GetObjectW( hbmp, sizeof(ds), &ds ) == sizeof(ds))
{
memcpy( &bmi->bmiHeader, &ds.dsBmih, sizeof(bmi->bmiHeader) );
bmi->bmiHeader = ds.dsBmih;
return ds.dsBm.bmBits;
}
return NULL;