summaryrefslogtreecommitdiffstats
path: root/src/extension/patheffect.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-02-29 20:15:53 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-02-29 20:15:53 +0000
commitf2aa7dc620e01b4663622f1862f05768ec633f41 (patch)
treeb1bb2611f959d45b239b1c5d0384a1f36fa8a23d /src/extension/patheffect.cpp
parentFix glibmm 2.28 check and guard against inclusion of deprecated gtk headers (diff)
downloadinkscape-f2aa7dc620e01b4663622f1862f05768ec633f41.tar.gz
inkscape-f2aa7dc620e01b4663622f1862f05768ec633f41.zip
cppcheck
added todo warning for sp-conn-end (after devmail message) (bzr r11033)
Diffstat (limited to 'src/extension/patheffect.cpp')
-rw-r--r--src/extension/patheffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/patheffect.cpp b/src/extension/patheffect.cpp
index a3094d536..bedab7fd8 100644
--- a/src/extension/patheffect.cpp
+++ b/src/extension/patheffect.cpp
@@ -44,7 +44,7 @@ PathEffect::processPathEffects (SPDocument * doc, Inkscape::XML::Node * path)
gchar ** patheffects = g_strsplit(patheffectlist, ";", 128);
Inkscape::XML::Node * defs = doc->getDefs()->getRepr();
- for (int i = 0; patheffects[i] != NULL && i < 128; i++) {
+ for (int i = 0; (i < 128) && (patheffects[i] != NULL); i++) {
gchar * patheffect = patheffects[i];
// This is weird, they should all be references... but anyway