Commit 17273028 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winedump: Fix empty string handling in regf files.

parent 654a83a5
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment