Fixed copy&paste error.

This commit is contained in:
Eric Pouech 2004-12-13 12:04:14 +00:00 committed by Alexandre Julliard
parent c164e069a8
commit eefb72c826
2 changed files with 2 additions and 2 deletions

View File

@ -336,7 +336,7 @@ HRESULT WINAPI ITSS_IStorageImpl_OpenStream(
if( pwcsName[0] == '/' )
{
WCHAR *p = &path[strlenW( path ) - 1];
while( ( path <= p ) && ( *p = '/' ) )
while( ( path <= p ) && ( *p == '/' ) )
*p-- = 0;
}
strcatW( path, pwcsName );

View File

@ -2630,7 +2630,7 @@ static void INT21_Ioctl_Block( CONTEXT86 *context )
TRACE("IOCTL - SET LOGICAL DRIVE MAP for drive %s\n",
INT21_DriveName( BL_reg(context)));
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))
{
SET_CFLAG(context);