msi: Handle null integers properly in transforms.

This commit is contained in:
Mike McCormack 2006-10-06 17:35:13 +09:00 committed by Alexandre Julliard
parent 5bbc6323dc
commit 2c626c9d81
1 changed files with 5 additions and 5 deletions

View File

@ -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: