diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-11-19 23:37:21 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-11-19 23:37:21 +0000 |
| commit | 48faf778e7c7dd74e366640b899b71b0d83b4a3d (patch) | |
| tree | ad3d889b31fa0acf9d7888566875f1513282d1dd /src/io | |
| parent | Send background color/dpi info to std::cerr to allow piping PNG export to file. (diff) | |
| download | inkscape-48faf778e7c7dd74e366640b899b71b0d83b4a3d.tar.gz inkscape-48faf778e7c7dd74e366640b899b71b0d83b4a3d.zip | |
Possible fix to build breakage on Macs.
Diffstat (limited to 'src/io')
| -rw-r--r-- | src/io/file-export-cmd.cpp | 2 |
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)); |
