Author: aandrejevic
Date: Tue May 27 21:29:36 2014
New Revision: 63484
URL:
http://svn.reactos.org/svn/reactos?rev=63484&view=rev
Log:
[NTVDM]
Fix the previous fix. Use LOBYTE/HIBYTE not LOWORD/HIWORD.
Modified:
trunk/reactos/subsystems/ntvdm/dos/dos32krnl/dos.c
Modified: trunk/reactos/subsystems/ntvdm/dos/dos32krnl/dos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/dos/dos32…
==============================================================================
--- trunk/reactos/subsystems/ntvdm/dos/dos32krnl/dos.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/dos/dos32krnl/dos.c [iso-8859-1] Tue May 27 21:29:36
2014
@@ -443,8 +443,8 @@
*(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);