Commit eefb72c8 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Fixed copy&paste error.

parent c164e069
...@@ -336,7 +336,7 @@ HRESULT WINAPI ITSS_IStorageImpl_OpenStream( ...@@ -336,7 +336,7 @@ HRESULT WINAPI ITSS_IStorageImpl_OpenStream(
if( pwcsName[0] == '/' ) if( pwcsName[0] == '/' )
{ {
WCHAR *p = &path[strlenW( path ) - 1]; WCHAR *p = &path[strlenW( path ) - 1];
while( ( path <= p ) && ( *p = '/' ) ) while( ( path <= p ) && ( *p == '/' ) )
*p-- = 0; *p-- = 0;
} }
strcatW( path, pwcsName ); strcatW( path, pwcsName );
......
...@@ -2630,7 +2630,7 @@ static void INT21_Ioctl_Block( CONTEXT86 *context ) ...@@ -2630,7 +2630,7 @@ static void INT21_Ioctl_Block( CONTEXT86 *context )
TRACE("IOCTL - SET LOGICAL DRIVE MAP for drive %s\n", TRACE("IOCTL - SET LOGICAL DRIVE MAP for drive %s\n",
INT21_DriveName( BL_reg(context))); INT21_DriveName( BL_reg(context)));
dev[0] = 'A' + drive; dev[1] = ':'; dev[2] = 0; dev[0] = 'A' + drive; dev[1] = ':'; dev[2] = 0;
tgt[0] = 'A' + drive + 1; dev[1] = ':'; dev[2] = '\\'; dev[3] = 0; tgt[0] = 'A' + drive + 1; tgt[1] = ':'; tgt[2] = '\\'; tgt[3] = 0;
if (!DefineDosDeviceW(DDD_RAW_TARGET_PATH, dev, tgt)) if (!DefineDosDeviceW(DDD_RAW_TARGET_PATH, dev, tgt))
{ {
SET_CFLAG(context); SET_CFLAG(context);
......
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