summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 31f4dd1)
raw | patch | inline | side by side (parent: 31f4dd1)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 26 Aug 2009 01:48:34 +0000 (01:48 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 26 Aug 2009 01:48:34 +0000 (01:48 +0000) |
src/sp-text.cpp | patch | blob | history |
diff --git a/src/sp-text.cpp b/src/sp-text.cpp
index 61947311c4995155f4de67629d5afa665bfac99a..0d3fd791b58f813b10ab94ceb0cedff731276adf 100644 (file)
--- a/src/sp-text.cpp
+++ b/src/sp-text.cpp
SVGLength zero_length;
zero_length = 0.0;
- if (attributes.rotate.size() < index + 1) {
+ if (attributes.rotate.size() < index + 2) {
if (attributes.rotate.empty())
- attributes.rotate.resize(index + 1, zero_length);
+ attributes.rotate.resize(index + 2, zero_length);
else
- attributes.rotate.resize(index + 1, attributes.rotate.back());
+ attributes.rotate.resize(index + 2, attributes.rotate.back());
}
attributes.rotate[index] = mod360(attributes.rotate[index].computed + delta);
}