From 48faf778e7c7dd74e366640b899b71b0d83b4a3d Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Tue, 20 Nov 2018 00:37:21 +0100 Subject: Possible fix to build breakage on Macs. --- src/io/file-export-cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/io/file-export-cmd.cpp') 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)); -- cgit v1.2.3