diff options
| author | Stephen Parry <sgparry@mainscreen.com> | 2016-07-10 01:31:50 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-08-07 18:18:40 +0000 |
| commit | 2b5d32c80bbb3a00470001b33f23e796f5818ea2 (patch) | |
| tree | 9f596ef77f349818d01a9f87f85315fef1c0d797 /src/conditions.cpp | |
| parent | Fix regression on text launch shortcuts (diff) | |
| download | inkscape-2b5d32c80bbb3a00470001b33f23e796f5818ea2.tar.gz inkscape-2b5d32c80bbb3a00470001b33f23e796f5818ea2.zip | |
Fixed incorrect array refernces causing bug 1600496
Fixed bugs:
- https://launchpad.net/bugs/1600496
(bzr r15015)
Diffstat (limited to '')
| -rw-r--r-- | src/conditions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conditions.cpp b/src/conditions.cpp index 57f63181d..c5f0d8b2c 100644 --- a/src/conditions.cpp +++ b/src/conditions.cpp @@ -218,7 +218,7 @@ static bool evaluateSVG11Feature(gchar const *feature) { }; for ( unsigned int i = 0 ; i < sizeof(_supported_features)/sizeof(_supported_features[0]); i++ ) { - if ( 0 == strcasecmp(feature, _supported_features[0]) ) + if ( 0 == strcasecmp(feature, _supported_features[i]) ) return true; } return false; @@ -236,7 +236,7 @@ static bool evaluateSVG10Feature(gchar const *feature) { // "dom.svg.all" }; for ( unsigned int i = 0 ; i < sizeof(_supported_features)/sizeof(_supported_features[0]); i++ ) { - if ( 0 == strcasecmp(feature, _supported_features[0]) ) + if ( 0 == strcasecmp(feature, _supported_features[i]) ) return true; } return false; |
