winedos: Assign to struct instead of using memcpy.

oldstable
Andrew Talbot 2008-03-21 15:29:51 +00:00 committed by Alexandre Julliard
parent 740b56e87b
commit 2d08f90d76
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{