From d3723a9e4443801a45145da494217e015b54742c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20H=C3=B6hle?= Date: Tue, 23 Jun 2009 09:34:36 +0200 Subject: [PATCH] winedos: Provide trailing \ now required by GetVolumeInformation. --- dlls/winedos/int21.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winedos/int21.c b/dlls/winedos/int21.c index 16b23598ad8..6fd131f9442 100644 --- a/dlls/winedos/int21.c +++ b/dlls/winedos/int21.c @@ -3419,7 +3419,7 @@ static BOOL INT21_NetworkFunc (CONTEXT86 *context) static int INT21_GetDiskSerialNumber( CONTEXT86 *context ) { 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; path[0] += INT21_MapDrive(BL_reg(context)); @@ -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) { - WCHAR path[] = {' ',':',0}; + WCHAR path[] = {' ',':','\\',0}; if (count) return 0; path[0] = drive + 'A'; -- 2.11.4.GIT