msi: Handle null integers properly in transforms.
This commit is contained in:
parent
5bbc6323dc
commit
2c626c9d81
|
@ -1679,15 +1679,15 @@ static MSIRECORD *msi_get_transform_record( MSITABLEVIEW *tv, string_table *st,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
val ^= 0x8000;
|
if (val)
|
||||||
MSI_RecordSetInteger( rec, i+1, val );
|
MSI_RecordSetInteger( rec, i+1, val^0x8000 );
|
||||||
TRACE("[0x%04x]", val );
|
TRACE("[0x%04x]", val );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
val = rawdata[ofs] + (rawdata[ofs + 1]<<16);
|
val = (rawdata[ofs] + (rawdata[ofs + 1]<<16));
|
||||||
/* val ^= 0x80000000; */
|
if (val)
|
||||||
MSI_RecordSetInteger( rec, i+1, val );
|
MSI_RecordSetInteger( rec, i+1, val^0x80000000 );
|
||||||
TRACE("[0x%08x]", val );
|
TRACE("[0x%08x]", val );
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue