Commit 2c626c9d authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Handle null integers properly in transforms.

parent 5bbc6323
......@@ -1679,15 +1679,15 @@ static MSIRECORD *msi_get_transform_record( MSITABLEVIEW *tv, string_table *st,
}
else
{
val ^= 0x8000;
MSI_RecordSetInteger( rec, i+1, val );
if (val)
MSI_RecordSetInteger( rec, i+1, val^0x8000 );
TRACE("[0x%04x]", val );
}
break;
case 4:
val = rawdata[ofs] + (rawdata[ofs + 1]<<16);
/* val ^= 0x80000000; */
MSI_RecordSetInteger( rec, i+1, val );
val = (rawdata[ofs] + (rawdata[ofs + 1]<<16));
if (val)
MSI_RecordSetInteger( rec, i+1, val^0x80000000 );
TRACE("[0x%08x]", val );
break;
default:
......
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