Check VT_PTR, VT_EMPTY when compare 2 script variants
Authored by: utunnels 2007-12-20
Parent: [r1202]
Child: [r1204]