requiredFeatures almost always evaluates to false
Bug #1600496 reported by
Stephen Parry
This bug affects 1 person
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
tags: | added: code-design svg |
Changed in inkscape: | |
status: | New → In Progress |
assignee: | nobody → Stephen Parry (sgparry) |
milestone: | none → 0.93 |
tags: | added: backport-proposed |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Have uploaded proposed fix