Author: ion
Date: Mon Jan 23 05:32:11 2012
New Revision: 55093
URL:
http://svn.reactos.org/svn/reactos?rev=55093&view=rev
Log:
[KERNEL32]: Fix a copy-pasta (and a regression). Thanks vicmarcal/testbot.
Modified:
trunk/reactos/dll/win32/kernel32/client/proc.c
Modified: trunk/reactos/dll/win32/kernel32/client/proc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] Mon Jan 23 05:32:11 2012
@@ -1558,7 +1558,7 @@
/* Copy the data out of there */
lpStartupInfo->cb = sizeof(STARTUPINFOW);
- lpStartupInfo->lpReserved = Params->ShellInfo.Buffer;
+ lpStartupInfo->lpReserved = Params->ShellInfo.Buffer;
lpStartupInfo->lpDesktop = Params->DesktopInfo.Buffer;
lpStartupInfo->lpTitle = Params->WindowTitle.Buffer;
lpStartupInfo->dwX = Params->StartingX;
@@ -1659,7 +1659,7 @@
if (NT_SUCCESS(Status))
{
/* Save it */
- StartupInfo->lpReserved = TitleString.Buffer;
+ StartupInfo->lpTitle = TitleString.Buffer;
/* We finished with the ANSI version, try to cache it */
if (!InterlockedCompareExchangePointer(&BaseAnsiStartupInfo,