mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[NTVDM]
Fix the previous fix. Use LOBYTE/HIBYTE not LOWORD/HIWORD. svn path=/trunk/; revision=63484
This commit is contained in:
parent
dad0af61d4
commit
0f0db19784
1 changed files with 2 additions and 2 deletions
|
@ -443,8 +443,8 @@ static WORD DosCopyEnvironmentBlock(LPCVOID Environment, LPCSTR ProgramName)
|
|||
*(DestBuffer++) = 0;
|
||||
|
||||
/* Store the special program name tag */
|
||||
*(DestBuffer++) = LOWORD(DOS_PROGRAM_NAME_TAG);
|
||||
*(DestBuffer++) = HIWORD(DOS_PROGRAM_NAME_TAG);
|
||||
*(DestBuffer++) = LOBYTE(DOS_PROGRAM_NAME_TAG);
|
||||
*(DestBuffer++) = HIBYTE(DOS_PROGRAM_NAME_TAG);
|
||||
|
||||
/* Copy the program name after the environment block */
|
||||
strcpy(DestBuffer, ProgramName);
|
||||
|
|
Loading…
Reference in a new issue