winedump: Support dumping default values without VAL_COMP_NAME flag.

This commit is contained in:
Piotr Caban 2023-08-01 14:10:28 +02:00 committed by Alexandre Julliard
parent 8242dbe5a0
commit 654a83a583

View file

@ -201,7 +201,7 @@ static BOOL dump_value(unsigned int hive_off, unsigned int off)
if (!val || memcmp(&val->signature, "vk", 2))
return FALSE;
if (!(val->flags & VAL_COMP_NAME))
if (!(val->flags & VAL_COMP_NAME) && val->name_size)
{
printf("unsupported value flags: %x\n", val->flags);
return FALSE;