Author: hbelusca
Date: Wed Mar 9 00:07:24 2016
New Revision: 70974
URL:
http://svn.reactos.org/svn/reactos?rev=70974&view=rev
Log:
[NTVDM]: Fix space padding calculation in the text-mode hex dumper.
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/emulator.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/emulator.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/emul…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/emulator.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/emulator.c [iso-8859-1] Wed Mar 9 00:07:24 2016
@@ -345,8 +345,8 @@
}
/* ... align with spaces if needed... */
- RtlFillMemory(Line, 0x0F + 4 - i, ' ');
- Line += 0x0F + 4 - i;
+ RtlFillMemory(Line, (0x0F + 2 - i) * 3 + 2, ' ');
+ Line += (0x0F + 2 - i) * 3 + 2;
/* ... then in character form. */
i = 0;