diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-08-24 19:48:18 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-08-24 19:48:18 +0000 |
| commit | 0094efd3c64b8a7ab96135c697a0ac265069a78f (patch) | |
| tree | 564dc028eff4f5a7758ad762203e85f34f8e830d /src/extension | |
| parent | update to trunk (diff) | |
| parent | Revert custom gdl patch (focus indicator of docked dialogs) for Quartz backen... (diff) | |
| download | inkscape-0094efd3c64b8a7ab96135c697a0ac265069a78f.tar.gz inkscape-0094efd3c64b8a7ab96135c697a0ac265069a78f.zip | |
update to trunk
(bzr r13879.1.22)
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; |
