Comment 0 for bug 1378595

Revision history for this message
Liam P. White (liampwhite) wrote :

https://bazaar.launchpad.net/~inkscape.dev/inkscape/experimental/view/head:/src/widgets/paint-selector.cpp#L1151

1151 pat = pattern_getroot(SP_PATTERN(patid));

The variable 'patid' is a pointer to char. It has no vtable information. A cast to SPPattern would never work, and will probably crash.
I can't tell what was intended with this, or if it is actually correct.

Same line in trunk:
https://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/widgets/paint-selector.cpp#L1126