[NTVDM]: Fix space padding calculation in the text-mode hex dumper.

svn path=/trunk/; revision=70974
This commit is contained in:
Hermès Bélusca-Maïto 2016-03-09 00:07:24 +00:00
parent 73f123b287
commit 5d8398fc61

View file

@ -345,8 +345,8 @@ DumpMemoryTxt(HANDLE hFile)
}
/* ... 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;