diff --git a/reactos/lib/ntdll/rtl/path.c b/reactos/lib/ntdll/rtl/path.c index 4ddbe1ba093..179f419e3d5 100644 --- a/reactos/lib/ntdll/rtl/path.c +++ b/reactos/lib/ntdll/rtl/path.c @@ -1,4 +1,4 @@ -/* $Id: path.c,v 1.15 2002/10/20 11:56:00 chorns Exp $ +/* $Id: path.c,v 1.16 2003/02/15 20:25:03 phreak Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -252,7 +252,7 @@ RtlGetCurrentDirectory_U(ULONG MaximumLength, DPRINT ("RtlGetCurrentDirectory %lu %p\n", MaximumLength, Buffer); - cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName); + cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName); RtlAcquirePebLock(); Length = cd->DosPath.Length / sizeof(WCHAR); @@ -304,7 +304,7 @@ RtlSetCurrentDirectory_U(PUNICODE_STRING name) DPRINT ("RtlSetCurrentDirectory %wZ\n", name); RtlAcquirePebLock (); - cd = (PCURDIR)&NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName; + cd = (PCURDIR)&NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName; size = cd->DosPath.MaximumLength; buf = RtlAllocateHeap (RtlGetProcessHeap(), @@ -516,7 +516,7 @@ CHECKPOINT; RtlAcquirePebLock(); - cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName); + cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName); DPRINT("type %ld\n", type); switch (type) { @@ -707,7 +707,7 @@ RtlDosPathNameToNtPathName_U(PWSTR dosname, if (nah) { memset (nah, 0, sizeof(CURDIR)); - cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName); + cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName); if (Type == 5 && cd->Handle && !_wcsnicmp (cd->DosPath.Buffer, fullname, cd->DosPath.Length / 2)) {