summaryrefslogtreecommitdiffstats
path: root/src/viewbox.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-02-11 11:39:53 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-02-11 11:39:53 +0000
commit4c52ed01caef79ee62c965ac22bbfffa4d42b375 (patch)
tree365def34a47a37c232927b21ca2933955e7c22e1 /src/viewbox.cpp
parentupdate to trunk (diff)
parentSet 'preserveAspectRatio' to 'none' when importing an image. (diff)
downloadinkscape-4c52ed01caef79ee62c965ac22bbfffa4d42b375.tar.gz
inkscape-4c52ed01caef79ee62c965ac22bbfffa4d42b375.zip
update to trunk
(bzr r11950.1.253)
Diffstat (limited to 'src/viewbox.cpp')
-rw-r--r--src/viewbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewbox.cpp b/src/viewbox.cpp
index e46fe005c..f59909abc 100644
--- a/src/viewbox.cpp
+++ b/src/viewbox.cpp
@@ -103,7 +103,7 @@ void SPViewBox::set_preserveAspectRatio(const gchar* value) {
int len = e - p;
- if ( (len > 8) || (len < 256) ) { // note the extra check for buffer overflow
+ if (len > 8) { // Can't have buffer overflow as 8 < 256
return;
}