From 2bef43626ceb10288cf4e289dad406608c588eaf Mon Sep 17 00:00:00 2001 From: Ralf Stephan Date: Thu, 22 Jun 2006 14:26:10 +0000 Subject: apply patch 1498946 by zbsz (fixes #1492545 "PNG resolution value export") (bzr r1262) --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 3c3655175..aa97f3aec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -955,7 +955,7 @@ sp_do_export_png(SPDocument *doc) g_print("Bitmap saved as: %s\n", filename); if ((width >= 1) && (height >= 1) && (width < 65536) && (height < 65536)) { - sp_export_png_file(doc, filename, area.x0, area.y0, area.x1, area.y1, width, height, bgcolor, NULL, NULL, true, sp_export_id_only ? items : NULL); + sp_export_png_file(doc, filename, area.x0, area.y0, area.x1, area.y1, width, height, dpi, dpi, bgcolor, NULL, NULL, true, sp_export_id_only ? items : NULL); } else { g_warning("Calculated bitmap dimensions %d %d are out of range (1 - 65535). Nothing exported.", width, height); } -- cgit v1.2.3