mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 03:23:37 +00:00
regedit: Print Latin-1 characters.
This makes spot-checking differences with Windows a little easier. Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
efa6e6b9ef
commit
2831fe2f84
|
@ -35,6 +35,7 @@
|
|||
#include "commctrl.h"
|
||||
|
||||
#include "wine/heap.h"
|
||||
#include "wine/unicode.h"
|
||||
#include "main.h"
|
||||
|
||||
/* spaces dividing hex and ASCII */
|
||||
|
@ -94,7 +95,7 @@ static LPWSTR HexEdit_GetLineText(int offset, BYTE *pData, LONG cbData, LONG pad
|
|||
for (i = 0; i < cbData; i++)
|
||||
{
|
||||
/* (C1_ALPHA|C1_BLANK|C1_PUNCT|C1_DIGIT|C1_LOWER|C1_UPPER) */
|
||||
if (isprint(pData[offset + i]))
|
||||
if (isprintW(pData[offset + i]))
|
||||
lpszLine[6 + cbData * 3 + pad * 3 + DIV_SPACES + i] = pData[offset + i];
|
||||
else
|
||||
lpszLine[6 + cbData * 3 + pad * 3 + DIV_SPACES + i] = '.';
|
||||
|
|
Loading…
Reference in a new issue