summaryrefslogtreecommitdiffstats
path: root/src/dropper-context.cpp
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/dropper-context.cpp
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 '')
-rw-r--r--src/dropper-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dropper-context.cpp b/src/dropper-context.cpp
index 7dfe203ba..d513dd587 100644
--- a/src/dropper-context.cpp
+++ b/src/dropper-context.cpp
@@ -279,7 +279,7 @@ bool SPDropperContext::root_handler(GdkEvent* event) {
// locale-sensitive printf is OK, since this goes to the UI, not into SVG
gchar *alpha = g_strdup_printf(_(" alpha %.3g"), alpha_to_set);
// where the color is picked, to show in the statusbar
- gchar *where = this->dragging ? g_strdup_printf(_(", averaged with radius %d"), (int) rw) : g_strdup_printf(_(" under cursor"));
+ gchar *where = this->dragging ? g_strdup_printf(_(", averaged with radius %d"), (int) rw) : g_strdup_printf("%s", _(" under cursor"));
// message, to show in the statusbar
const gchar *message = this->dragging ? _("<b>Release mouse</b> to set color.") : _("<b>Click</b> to set fill, <b>Shift+click</b> to set stroke; <b>drag</b> to average color in area; with <b>Alt</b> to pick inverse color; <b>Ctrl+C</b> to copy the color under mouse to clipboard");