From 40ee84e9972ec21fa9b4ab20e30ac8dd19e985a6 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Thu, 16 Mar 2000 21:50:56 +0000 Subject: [PATCH] Oops! Typos... svn path=/trunk/; revision=1066 --- reactos/lib/kernel32/file/curdir.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/lib/kernel32/file/curdir.c b/reactos/lib/kernel32/file/curdir.c index 3c4686bb047..4bb49f3eafc 100644 --- a/reactos/lib/kernel32/file/curdir.c +++ b/reactos/lib/kernel32/file/curdir.c @@ -1,4 +1,4 @@ -/* $Id: curdir.c,v 1.23 2000/03/16 20:50:48 dwelch Exp $ +/* $Id: curdir.c,v 1.24 2000/03/16 21:50:56 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -307,7 +307,7 @@ GetWindowsDirectoryA ( if (lpBuffer == NULL) return 0; - Length = RtlUnicodeStringToAnsiSize (&SystemDirectory); + Length = RtlUnicodeStringToAnsiSize (&WindowsDirectory); if (uSize > Length) { String.Length = 0; @@ -341,11 +341,11 @@ GetWindowsDirectoryW ( if (lpBuffer == NULL) return 0; - Length = SystemDirectory.Length / sizeof (WCHAR); + Length = WindowsDirectory.Length / sizeof (WCHAR); if (uSize > Length) { memmove (lpBuffer, - SystemDirectory.Buffer, + WindowsDirectory.Buffer, Length); lpBuffer[Length] = 0; }