diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2013-09-21 10:42:33 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2013-09-21 10:42:33 +0000 |
| commit | 0d4a38635fc26ed09d56b46e462b373489c8a4e2 (patch) | |
| tree | 511b4e86460db8180565d0949cd370608a22fa4b /src/ui/dialog/print.cpp | |
| parent | Fixed CMake build. (diff) | |
| download | inkscape-0d4a38635fc26ed09d56b46e462b373489c8a4e2.tar.gz inkscape-0d4a38635fc26ed09d56b46e462b373489c8a4e2.zip | |
Fix format security errors
Fixed bugs:
- https://launchpad.net/bugs/1193025
(bzr r12563)
Diffstat (limited to 'src/ui/dialog/print.cpp')
| -rw-r--r-- | src/ui/dialog/print.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/print.cpp b/src/ui/dialog/print.cpp index e6dae278b..03ac9dc64 100644 --- a/src/ui/dialog/print.cpp +++ b/src/ui/dialog/print.cpp @@ -101,7 +101,7 @@ static void draw_page( unlink (tmp_png.c_str()); } else { - g_warning(_("Could not open temporary PNG for bitmap printing")); + g_warning("%s", _("Could not open temporary PNG for bitmap printing")); } } else { @@ -144,11 +144,11 @@ static void draw_page( ret = ctx->finish(); } else { - g_warning(_("Could not set up Document")); + g_warning("%s", _("Could not set up Document")); } } else { - g_warning(_("Failed to set CairoRenderContext")); + g_warning("%s", _("Failed to set CairoRenderContext")); } // Clean up |
