Jörg Höhle : winedos: Provide trailing \ now required by GetVolumeInformation.
Module: wine Branch: master Commit: d3723a9e4443801a45145da494217e015b54742c URL: http://source.winehq.org/git/wine.git/?a=commit;h=d3723a9e4443801a45145da494... Author: Jörg Höhle <hoehle(a)users.sourceforge.net> Date: Tue Jun 23 09:34:36 2009 +0200 winedos: Provide trailing \ now required by GetVolumeInformation. --- dlls/winedos/int21.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winedos/int21.c b/dlls/winedos/int21.c index 16b2359..6fd131f 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';
participants (1)
-
Alexandre Julliard