summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/svg/svg-affine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/svg-affine.cpp b/src/svg/svg-affine.cpp
index adea723d0..928df1763 100644
--- a/src/svg/svg-affine.cpp
+++ b/src/svg/svg-affine.cpp
@@ -59,7 +59,7 @@ sp_svg_transform_read(gchar const *str, Geom::Affine *transform)
if (str[idx] != '(') return false;
idx++;
- for (n_args = 0; ; n_args++) {
+ for (n_args = 0; n_args < 6; n_args++) {
char c;
char *end_ptr;