Commit d3723a9e authored by Jörg Höhle's avatar Jörg Höhle Committed by Alexandre Julliard

winedos: Provide trailing \ now required by GetVolumeInformation.

parent 609b91a6
...@@ -3419,7 +3419,7 @@ static BOOL INT21_NetworkFunc (CONTEXT86 *context) ...@@ -3419,7 +3419,7 @@ static BOOL INT21_NetworkFunc (CONTEXT86 *context)
static int INT21_GetDiskSerialNumber( CONTEXT86 *context ) static int INT21_GetDiskSerialNumber( CONTEXT86 *context )
{ {
BYTE *dataptr = CTX_SEG_OFF_TO_LIN(context, context->SegDs, context->Edx); BYTE *dataptr = CTX_SEG_OFF_TO_LIN(context, context->SegDs, context->Edx);
WCHAR path[] = {'A',':',0}, label[11]; WCHAR path[] = {'A',':','\\',0}, label[11];
DWORD serial; DWORD serial;
path[0] += INT21_MapDrive(BL_reg(context)); path[0] += INT21_MapDrive(BL_reg(context));
...@@ -3877,7 +3877,7 @@ static unsigned INT21_FindHelper(LPCWSTR fullPath, unsigned drive, unsigned coun ...@@ -3877,7 +3877,7 @@ static unsigned INT21_FindHelper(LPCWSTR fullPath, unsigned drive, unsigned coun
if ((search_attr & ~(FA_UNUSED | FA_ARCHIVE | FA_RDONLY)) == FA_LABEL) if ((search_attr & ~(FA_UNUSED | FA_ARCHIVE | FA_RDONLY)) == FA_LABEL)
{ {
WCHAR path[] = {' ',':',0}; WCHAR path[] = {' ',':','\\',0};
if (count) return 0; if (count) return 0;
path[0] = drive + 'A'; path[0] = drive + 'A';
......
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