mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[KERNEL32]: Fix a copy-pasta (and a regression). Thanks vicmarcal/testbot.
svn path=/trunk/; revision=55093
This commit is contained in:
@@ -1558,7 +1558,7 @@ GetStartupInfoW(IN LPSTARTUPINFOW lpStartupInfo)
|
||||
|
||||
/* 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 @@ GetStartupInfoA(IN LPSTARTUPINFOA lpStartupInfo)
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user