diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-08-21 21:54:57 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-08-21 21:54:57 +0000 |
| commit | 584f35dcc621f5877732cf310c310570c021c31d (patch) | |
| tree | 6dd2b5612d3a41949ca87828c7cf27713e059675 /src/extension | |
| parent | Not sure about this changes :( (diff) | |
| parent | indentation and whitespace fixes (diff) | |
| download | inkscape-584f35dcc621f5877732cf310c310570c021c31d.tar.gz inkscape-584f35dcc621f5877732cf310c310570c021c31d.zip | |
update to trunk
(bzr r13645.1.108)
Diffstat (limited to 'src/extension')
| -rw-r--r-- | src/extension/internal/gdkpixbuf-input.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/gdkpixbuf-input.cpp b/src/extension/internal/gdkpixbuf-input.cpp index f5fab1fa2..f99c9050d 100644 --- a/src/extension/internal/gdkpixbuf-input.cpp +++ b/src/extension/internal/gdkpixbuf-input.cpp @@ -86,8 +86,8 @@ GdkpixbufInput::open(Inkscape::Extension::Input *mod, char const *uri) ir = new ImageResolution(uri); } if (ir && ir->ok()) { - xscale = 960.0 / floor(10.*ir->x() + .5); // round-off to 0.1 dpi - yscale = 960.0 / floor(10.*ir->y() + .5); + xscale = 960.0 / round(10.*ir->x() + .5); // round-off to 0.1 dpi + yscale = 960.0 / round(10.*ir->y() + .5); } else { xscale = 96.0 / defaultxdpi; yscale = 96.0 / defaultxdpi; |
