From 9f8a5298e2b704d815a89d7ac8cee5998719dd6f Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Mon, 7 Dec 1998 11:02:55 +0000 Subject: [PATCH] File handle bug fix. --- msdos/int21.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/msdos/int21.c b/msdos/int21.c index 63d7fddc4e7..76ba15e9df8 100644 --- a/msdos/int21.c +++ b/msdos/int21.c @@ -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; }