mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-18 18:13:18 +00:00
winedump: Fix empty string handling in regf files.
This commit is contained in:
parent
654a83a583
commit
1727302892
|
@ -236,7 +236,7 @@ static BOOL dump_value(unsigned int hive_off, unsigned int off)
|
|||
switch (val->data_type)
|
||||
{
|
||||
case REG_SZ:
|
||||
printf("%s", !data ? "" :
|
||||
printf("%s", !data ? "\"\"" :
|
||||
get_unicode_str((const WCHAR *)data, data_size / sizeof(WCHAR)));
|
||||
break;
|
||||
case REG_DWORD:
|
||||
|
@ -299,7 +299,7 @@ static BOOL dump_key(unsigned int hive_off, unsigned int off)
|
|||
}
|
||||
else
|
||||
{
|
||||
printf("@=""\n");
|
||||
printf("@=\"\"\n");
|
||||
}
|
||||
if (!ret)
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue