diff options
| -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; |
