summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c40337cbe..792c1182a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1143,7 +1143,9 @@ static int sp_process_file_list(std::vector<gchar*> fl)
}
Inkscape::ObjectSet s(doc);
s.set(obj);
- s.fitCanvas(sp_export_margin ? true : false);
+ if (!sp_export_area_page) {
+ s.fitCanvas(sp_export_margin ? true : false);
+ }
}
if (sp_export_svg) {
Inkscape::Extension::save(Inkscape::Extension::db.get("org.inkscape.output.svg.plain"), doc, sp_export_svg, false,