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 | |
| 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')
| -rw-r--r-- | src/ui/dialog/print.cpp | 6 | ||||
| -rw-r--r-- | src/ui/dialog/spellcheck.cpp | 2 |
2 files changed, 4 insertions, 4 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 diff --git a/src/ui/dialog/spellcheck.cpp b/src/ui/dialog/spellcheck.cpp index 9cc18c02c..45106755c 100644 --- a/src/ui/dialog/spellcheck.cpp +++ b/src/ui/dialog/spellcheck.cpp @@ -459,7 +459,7 @@ SpellCheck::finished () if (_stops) label = g_strdup_printf(_("<b>Finished</b>, <b>%d</b> words added to dictionary"), _adds); else - label = g_strdup_printf(_("<b>Finished</b>, nothing suspicious found")); + label = g_strdup_printf("%s", _("<b>Finished</b>, nothing suspicious found")); banner_label.set_markup(label); g_free(label); } |
