summaryrefslogtreecommitdiffstats
path: root/src/extension/patheffect.cpp
diff options
context:
space:
mode:
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