From d7d389bf60d2f8703bb4d41eeeb8c7c978e90c54 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sun, 23 Mar 2003 10:46:59 +0000 Subject: [PATCH] - Fixed the length parameter for calling RtlGetCurrentDirectory_U (GetCurrentDirectoryW). svn path=/trunk/; revision=4409 --- reactos/lib/kernel32/file/curdir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/kernel32/file/curdir.c b/reactos/lib/kernel32/file/curdir.c index b5023fa0702..82ed54226ee 100644 --- a/reactos/lib/kernel32/file/curdir.c +++ b/reactos/lib/kernel32/file/curdir.c @@ -1,4 +1,4 @@ -/* $Id: curdir.c,v 1.34 2003/01/15 21:24:33 chorns Exp $ +/* $Id: curdir.c,v 1.35 2003/03/23 10:46:59 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -81,7 +81,7 @@ GetCurrentDirectoryW ( { ULONG Length; - Length = RtlGetCurrentDirectory_U (nBufferLength, + Length = RtlGetCurrentDirectory_U (nBufferLength * sizeof(WCHAR), lpBuffer); return (Length / sizeof (WCHAR));