winedos: Initializations fix.

This commit is contained in:
Andrew Talbot 2009-03-25 20:49:52 +00:00 committed by Alexandre Julliard
parent eaf4492c70
commit 46c8ab351a
1 changed files with 3 additions and 2 deletions

View File

@ -2182,6 +2182,7 @@ static BOOL INT21_FileAttributes( CONTEXT86 *context,
else
{
TRACE( "SET FILE CREATION DATE AND TIME, file %s\n", fileA );
MultiByteToWideChar(CP_OEMCP, 0, fileA, -1, fileW, MAX_PATH);
handle = CreateFileW( fileW, GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
@ -2207,8 +2208,8 @@ static BOOL INT21_FileAttributes( CONTEXT86 *context,
INT_BARF( context, 0x21 );
else
{
TRACE( "GET FILE CREATION DATE AND TIME, handle %d\n",
BX_reg(context) );
TRACE( "GET FILE CREATION DATE AND TIME, file %s\n", fileA );
MultiByteToWideChar(CP_OEMCP, 0, fileA, -1, fileW, MAX_PATH);
handle = CreateFileW( fileW, GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE,