From c31bbf06e55e26afdb4399e6e508ecdfc10aa164 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Mon, 9 May 2005 01:44:13 +0000 Subject: [PATCH] strip whitespace from end of lines svn path=/trunk/; revision=15170 --- reactos/lib/userenv/desktop.c | 2 +- reactos/lib/userenv/environment.c | 6 +++--- reactos/lib/userenv/internal.h | 2 +- reactos/lib/userenv/misc.c | 2 +- reactos/lib/userenv/resources.h | 2 +- reactos/lib/userenv/setup.c | 2 +- reactos/lib/userenv/userenv.c | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/reactos/lib/userenv/desktop.c b/reactos/lib/userenv/desktop.c index 1d9260a8dcf..6634786ba31 100644 --- a/reactos/lib/userenv/desktop.c +++ b/reactos/lib/userenv/desktop.c @@ -363,7 +363,7 @@ AddDesktopItemW (BOOL bCommonDesktop, psl->lpVtbl->Release(psl); Ole32.fn.CoUninitialize(); - + UnloadDynamicImports(&Ole32); DPRINT ("AddDesktopItemW() done\n"); diff --git a/reactos/lib/userenv/environment.c b/reactos/lib/userenv/environment.c index c3f23d3e13d..cca1da708f7 100644 --- a/reactos/lib/userenv/environment.c +++ b/reactos/lib/userenv/environment.c @@ -51,9 +51,9 @@ SetUserEnvironmentVariable (LPVOID *Environment, DstValue.Length = 0; DstValue.MaximumLength = Length; - DstValue.Buffer = Buffer = LocalAlloc(LPTR, + DstValue.Buffer = Buffer = LocalAlloc(LPTR, Length); - + if (DstValue.Buffer == NULL) { DPRINT1("LocalAlloc() failed\n"); @@ -102,7 +102,7 @@ SetUserEnvironmentVariable (LPVOID *Environment, &DstValue); if (Buffer) LocalFree(Buffer); - + if (!NT_SUCCESS(Status)) { DPRINT1("RtlSetEnvironmentVariable() failed (Status %lx)\n", Status); diff --git a/reactos/lib/userenv/internal.h b/reactos/lib/userenv/internal.h index 050921d4655..4731596cf66 100644 --- a/reactos/lib/userenv/internal.h +++ b/reactos/lib/userenv/internal.h @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id$ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries diff --git a/reactos/lib/userenv/misc.c b/reactos/lib/userenv/misc.c index 188a3835e73..2fa87edba58 100644 --- a/reactos/lib/userenv/misc.c +++ b/reactos/lib/userenv/misc.c @@ -108,7 +108,7 @@ GetUserSidFromToken (HANDLE hToken, /* Dynamic DLL loading interface **********************************************/ /* OLE32.DLL import table */ -DYN_MODULE DynOle32 = +DYN_MODULE DynOle32 = { L"ole32.dll", { diff --git a/reactos/lib/userenv/resources.h b/reactos/lib/userenv/resources.h index 9bafed64b11..14c2dcff9ce 100644 --- a/reactos/lib/userenv/resources.h +++ b/reactos/lib/userenv/resources.h @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id$ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries diff --git a/reactos/lib/userenv/setup.c b/reactos/lib/userenv/setup.c index f5b533526de..9d0a66a5dcf 100644 --- a/reactos/lib/userenv/setup.c +++ b/reactos/lib/userenv/setup.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id$ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries diff --git a/reactos/lib/userenv/userenv.c b/reactos/lib/userenv/userenv.c index 94e90712092..dff87072f5c 100644 --- a/reactos/lib/userenv/userenv.c +++ b/reactos/lib/userenv/userenv.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id$ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries