[REGEDIT] Display REG_NONE as binary (#7084)

This commit is contained in:
Whindmar Saksit 2024-07-05 22:11:16 +02:00 committed by GitHub
parent 71a3be2497
commit 8a7b99c184
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,7 +214,6 @@ static void AddEntryToList(HWND hwndLV, LPWSTR Name, DWORD dwValType, void* ValB
}
break;
case REG_DWORD:
case REG_NONE:
{
WCHAR buf[200];
if(dwCount == sizeof(DWORD))
@ -229,7 +228,7 @@ static void AddEntryToList(HWND hwndLV, LPWSTR Name, DWORD dwValType, void* ValB
}
/* lpsRes = convertHexToDWORDStr(lpbData, dwLen); */
break;
default:
default: /* REG_BINARY, REG_NONE etc. */
{
unsigned int i;
LPBYTE pData = (LPBYTE)ValBuf;