summaryrefslogtreecommitdiffstats
path: root/src/io/file-export-cmd.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-11-19 23:37:21 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-11-19 23:37:21 +0000
commit48faf778e7c7dd74e366640b899b71b0d83b4a3d (patch)
treead3d889b31fa0acf9d7888566875f1513282d1dd /src/io/file-export-cmd.cpp
parentSend background color/dpi info to std::cerr to allow piping PNG export to file. (diff)
downloadinkscape-48faf778e7c7dd74e366640b899b71b0d83b4a3d.tar.gz
inkscape-48faf778e7c7dd74e366640b899b71b0d83b4a3d.zip
Possible fix to build breakage on Macs.
Diffstat (limited to 'src/io/file-export-cmd.cpp')
-rw-r--r--src/io/file-export-cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/file-export-cmd.cpp b/src/io/file-export-cmd.cpp
index 46e758e88..8cc9c43fd 100644
--- a/src/io/file-export-cmd.cpp
+++ b/src/io/file-export-cmd.cpp
@@ -405,7 +405,7 @@ InkFileExportCmd::do_export_png(SPDocument *doc, std::string filename_in)
/* Try to parse area (given in SVG pixels) */
gdouble x0,y0,x1,y1;
if (sscanf(export_area.c_str(), "%lg:%lg:%lg:%lg", &x0, &y0, &x1, &y1) != 4) {
- g_warning("Cannot parse export area '%s'; use 'x0:y0:x1:y1'. Nothing exported.", export_area);
+ g_warning("Cannot parse export area '%s'; use 'x0:y0:x1:y1'. Nothing exported.", export_area.c_str());
return 1;
}
area = Geom::Rect(Geom::Interval(x0,x1), Geom::Interval(y0,y1));