diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-08-10 09:35:52 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-08-10 09:35:52 +0000 |
| commit | 696d2dcbacc0991b2c91e401e3ba8da3cebbbba1 (patch) | |
| tree | c6434cc9cbacf4f1ba92502e93b16a4b4d0c3bf1 /src/conditions.cpp | |
| parent | Fix CI errors (diff) | |
| download | inkscape-696d2dcbacc0991b2c91e401e3ba8da3cebbbba1.tar.gz inkscape-696d2dcbacc0991b2c91e401e3ba8da3cebbbba1.zip | |
Fixes to regresion pointed in RC about text and tooltips
Diffstat (limited to 'src/conditions.cpp')
| -rw-r--r-- | src/conditions.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conditions.cpp b/src/conditions.cpp index 62c44f660..c5f0d8b2c 100644 --- a/src/conditions.cpp +++ b/src/conditions.cpp @@ -217,8 +217,8 @@ static bool evaluateSVG11Feature(gchar const *feature) { "Extensibility", // not sure }; - for (auto & _supported_feature : _supported_features) { - if ( 0 == strcasecmp(feature, _supported_feature) ) + for ( unsigned int i = 0 ; i < sizeof(_supported_features)/sizeof(_supported_features[0]); i++ ) { + if ( 0 == strcasecmp(feature, _supported_features[i]) ) return true; } return false; @@ -235,8 +235,8 @@ static bool evaluateSVG10Feature(gchar const *feature) { // "svg.all", // "dom.svg.all" }; - for (auto & _supported_feature : _supported_features) { - if ( 0 == strcasecmp(feature, _supported_feature) ) + for ( unsigned int i = 0 ; i < sizeof(_supported_features)/sizeof(_supported_features[0]); i++ ) { + if ( 0 == strcasecmp(feature, _supported_features[i]) ) return true; } return false; |
