summaryrefslogtreecommitdiffstats
path: root/src/filters
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-08-15 20:55:21 +0000
committertavmjong-free <tavmjong@free.fr>2016-08-15 20:55:21 +0000
commit7f779f28e67eac1653e0f7751bb3f224b67894c7 (patch)
treeed872536d8fe377caf2ba22181f8dbfc6a82cf35 /src/filters
parentFix bug reported in http://www.viva64.com/en/b/0419/ (diff)
downloadinkscape-7f779f28e67eac1653e0f7751bb3f224b67894c7.tar.gz
inkscape-7f779f28e67eac1653e0f7751bb3f224b67894c7.zip
Fix a bunch of errors as reported at http://www.viva64.com/en/b/0419/
(bzr r15059)
Diffstat (limited to 'src/filters')
-rw-r--r--src/filters/blend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/blend.cpp b/src/filters/blend.cpp
index 0c7f87542..9ef544828 100644
--- a/src/filters/blend.cpp
+++ b/src/filters/blend.cpp
@@ -78,7 +78,7 @@ static Inkscape::Filters::FilterBlendMode sp_feBlend_readmode(gchar const *value
case 's':
if (strncmp(value, "screen", 6) == 0)
return Inkscape::Filters::BLEND_SCREEN;
- if (strncmp(value, "saturation", 6) == 0)
+ if (strncmp(value, "saturation", 10) == 0)
return Inkscape::Filters::BLEND_SATURATION;
break;
case 'd':
@@ -106,7 +106,7 @@ static Inkscape::Filters::FilterBlendMode sp_feBlend_readmode(gchar const *value
return Inkscape::Filters::BLEND_COLOR;
break;
case 'h':
- if (strncmp(value, "hard-light", 7) == 0)
+ if (strncmp(value, "hard-light", 10) == 0)
return Inkscape::Filters::BLEND_HARDLIGHT;
if (strncmp(value, "hue", 3) == 0)
return Inkscape::Filters::BLEND_HUE;