regedit: Display REG_DWORD as unsigned with lowercase hex digits.
This commit is contained in:
parent
1bf787d521
commit
99d14ada78
|
@ -168,7 +168,7 @@ static void AddEntryToList(HWND hwndLV, LPTSTR Name, DWORD dwValType,
|
|||
break;
|
||||
case REG_DWORD: {
|
||||
TCHAR buf[64];
|
||||
wsprintf(buf, _T("0x%08X (%d)"), *(DWORD*)ValBuf, *(DWORD*)ValBuf);
|
||||
wsprintf(buf, _T("0x%08x (%u)"), *(DWORD*)ValBuf, *(DWORD*)ValBuf);
|
||||
ListView_SetItemText(hwndLV, index, 2, buf);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue