diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-02-11 11:39:53 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-02-11 11:39:53 +0000 |
| commit | 4c52ed01caef79ee62c965ac22bbfffa4d42b375 (patch) | |
| tree | 365def34a47a37c232927b21ca2933955e7c22e1 /src/viewbox.cpp | |
| parent | update to trunk (diff) | |
| parent | Set 'preserveAspectRatio' to 'none' when importing an image. (diff) | |
| download | inkscape-4c52ed01caef79ee62c965ac22bbfffa4d42b375.tar.gz inkscape-4c52ed01caef79ee62c965ac22bbfffa4d42b375.zip | |
update to trunk
(bzr r11950.1.253)
Diffstat (limited to 'src/viewbox.cpp')
| -rw-r--r-- | src/viewbox.cpp | 2 |
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; } |
