summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-09-21 10:42:33 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-09-21 10:42:33 +0000
commit0d4a38635fc26ed09d56b46e462b373489c8a4e2 (patch)
tree511b4e86460db8180565d0949cd370608a22fa4b /src/extension
parentFixed CMake build. (diff)
downloadinkscape-0d4a38635fc26ed09d56b46e462b373489c8a4e2.tar.gz
inkscape-0d4a38635fc26ed09d56b46e462b373489c8a4e2.zip
Fix format security errors
Fixed bugs: - https://launchpad.net/bugs/1193025 (bzr r12563)
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/init.cpp2
-rw-r--r--src/extension/internal/filter/filter-file.cpp2
-rw-r--r--src/extension/system.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/init.cpp b/src/extension/init.cpp
index 1a163d4c2..2dde9eeb8 100644
--- a/src/extension/init.cpp
+++ b/src/extension/init.cpp
@@ -295,7 +295,7 @@ static void
build_module_from_dir(gchar const *dirname)
{
if (!dirname) {
- g_warning(_("Null external module directory name. Modules will not be loaded."));
+ g_warning("%s", _("Null external module directory name. Modules will not be loaded."));
return;
}
diff --git a/src/extension/internal/filter/filter-file.cpp b/src/extension/internal/filter/filter-file.cpp
index d569c6438..48e64f089 100644
--- a/src/extension/internal/filter/filter-file.cpp
+++ b/src/extension/internal/filter/filter-file.cpp
@@ -44,7 +44,7 @@ void
Filter::filters_load_dir (gchar const * dirname, gchar * menuname)
{
if (!dirname) {
- g_warning(_("Null external module directory name. Filters will not be loaded."));
+ g_warning("%s", _("Null external module directory name. Filters will not be loaded."));
return;
}
diff --git a/src/extension/system.cpp b/src/extension/system.cpp
index f7fd48b3f..a4c370f4c 100644
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
@@ -124,7 +124,7 @@ SPDocument *open(Extension *key, gchar const *filename)
if ( inkscape_use_gui() ) {
sp_ui_error_dialog(_("Format autodetect failed. The file is being opened as SVG."));
} else {
- g_warning(_("Format autodetect failed. The file is being opened as SVG."));
+ g_warning("%s", _("Format autodetect failed. The file is being opened as SVG."));
}
}