File handle bug fix.

This commit is contained in:
Stefan Leichter 1998-12-07 11:02:55 +00:00 committed by Alexandre Julliard
parent 0470222b8e
commit 9f8a5298e2
1 changed files with 2 additions and 1 deletions

View File

@ -1808,7 +1808,8 @@ void WINAPI DOS3Call( CONTEXT *context )
DosDateTimeToFileTime( DX_reg(context), CX_reg(context),
&filetime );
bSetDOSExtendedError =
(!SetFileTime( BX_reg(context), NULL, NULL, &filetime ));
(!SetFileTime( HFILE16_TO_HFILE32(BX_reg(context)),
NULL, NULL, &filetime ));
}
break;
}