mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[RTL]
- Fix the string length calculation for the partial name - Fixes the 2nd stage regression svn path=/trunk/; revision=52733
This commit is contained in:
@@ -567,7 +567,7 @@ RtlpDosPathNameToRelativeNtPathName_Ustr(IN BOOLEAN HaveRelative,
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
/* Set the partial name */
|
||||
*PartName = &NewBuffer[LengthChars - PartNameString.Length];
|
||||
*PartName = &NewBuffer[LengthChars - (PartNameString.Length / sizeof(WCHAR))];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user