regedit: Display REG_DWORD as unsigned with lowercase hex digits.

This commit is contained in:
Ted Percival 2007-12-02 20:20:19 +10:00 committed by Alexandre Julliard
parent 1bf787d521
commit 99d14ada78
1 changed files with 1 additions and 1 deletions

View File

@ -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;