Module: wine Branch: master Commit: 99d14ada78ef9b7e3db7c00f80bf2093d5344276 URL: http://source.winehq.org/git/wine.git/?a=commit;h=99d14ada78ef9b7e3db7c00f80...
Author: Ted Percival ted@midg3t.net Date: Sun Dec 2 20:20:19 2007 +1000
regedit: Display REG_DWORD as unsigned with lowercase hex digits.
---
programs/regedit/listview.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c index 8b58eec..4798b51 100644 --- a/programs/regedit/listview.c +++ b/programs/regedit/listview.c @@ -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;