requiredFeatures almost always evaluates to false
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Inkscape |
Fix Released
|
Low
|
Stephen Parry | ||
Bug Description
Due to incorrect coding of line 219 in conditions.cpp, only the feature:
http://
will ever match. The code says:
<code>
for ( unsigned int i = 0 ; i < sizeof(
if ( 0 == strcasecmp(feature, _supported_
return true;
}
return false;
</code>
It should say:
<code>
for ( unsigned int i = 0 ; i < sizeof(
if ( 0 == strcasecmp(feature, _supported_
return true;
}
return false;
</code>
Related branches
Have uploaded proposed fix
Hi there, it appears this still hasn't been merged into master. As Inkscape now uses GitLab, would you like to submit a merge request there? Here's our GitLab repo: https:/