summaryrefslogtreecommitdiff
path: root/src/simple-scan.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/simple-scan.vala')
-rw-r--r--src/simple-scan.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simple-scan.vala b/src/simple-scan.vala
index fc9b101..771dc82 100644
--- a/src/simple-scan.vala
+++ b/src/simple-scan.vala
@@ -1536,7 +1536,8 @@ public class SimpleScan : Gtk.Application
debug ("Requesting scan at %d dpi from device '%s'", options.dpi, device);
if (!scanner.is_scanning ())
- append_page (options.paper_width, options.paper_height, options.dpi);
+ // We need to add +1 to avoid visual glitches, fixes: #179
+ append_page (options.paper_width + 1, options.paper_height + 1, options.dpi + 1);
scanner.scan (device, options);
}