Author: cgutman Date: Wed Jul 20 07:11:38 2011 New Revision: 52733
URL: http://svn.reactos.org/svn/reactos?rev=52733&view=rev Log: [RTL] - Fix the string length calculation for the partial name - Fixes the 2nd stage regression
Modified: trunk/reactos/lib/rtl/path.c
Modified: trunk/reactos/lib/rtl/path.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/path.c?rev=52733&am... ============================================================================== --- trunk/reactos/lib/rtl/path.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/path.c [iso-8859-1] Wed Jul 20 07:11:38 2011 @@ -567,7 +567,7 @@ if (NT_SUCCESS(Status)) { /* Set the partial name */ - *PartName = &NewBuffer[LengthChars - PartNameString.Length]; + *PartName = &NewBuffer[LengthChars - (PartNameString.Length / sizeof(WCHAR))]; } else {