Ted Percival : Display REG_DWORD as unsigned with lowercase hex digits. <ted at midg3t.net>

svn path=/trunk/; revision=31074
This commit is contained in:
Christoph von Wittich 2007-12-08 13:37:28 +00:00
parent 3d376e1acb
commit c10fc4547a

View file

@ -185,7 +185,7 @@ static void AddEntryToList(HWND hwndLV, LPTSTR Name, DWORD dwValType, void* ValB
TCHAR buf[200];
if(dwCount == sizeof(DWORD))
{
wsprintf(buf, _T("0x%08X (%d)"), *(DWORD*)ValBuf, *(DWORD*)ValBuf);
wsprintf(buf, _T("0x%08x (%u)"), *(DWORD*)ValBuf, *(DWORD*)ValBuf);
}
else
{