mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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:
parent
d559321dff
commit
bbbb4ccf95
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ RtlpDosPathNameToRelativeNtPathName_Ustr(IN BOOLEAN HaveRelative,
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
/* Set the partial name */
|
/* Set the partial name */
|
||||||
*PartName = &NewBuffer[LengthChars - PartNameString.Length];
|
*PartName = &NewBuffer[LengthChars - (PartNameString.Length / sizeof(WCHAR))];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue