Commit 2d08f90d authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

winedos: Assign to struct instead of using memcpy.

parent 740b56e8
......@@ -2959,7 +2959,7 @@ static BOOL INT21_Fat32( CONTEXT86 *context )
source = &INT21_GetHeapPointer()->misc_dpb_list[drive];
*ptr = sizeof(INT21_DPB);
memcpy( target, source, sizeof(INT21_DPB));
*target = *source;
if (LOWORD(context->Esi) != 0xF1A6)
{
......
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