[geany/geany-plugins] b0d261: Don't pass prebuilt strings directly as printf-format expected arguments
Enrico Tröger
git-noreply at xxxxx
Sun Oct 12 16:30:54 UTC 2014
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun, 12 Oct 2014 16:30:54 UTC
Commit: b0d261a7bc3cd2100c0e021b6a8a4220d821f001
https://github.com/geany/geany-plugins/commit/b0d261a7bc3cd2100c0e021b6a8a4220d821f001
Log Message:
-----------
Don't pass prebuilt strings directly as printf-format expected arguments
Modified Paths:
--------------
spellcheck/src/speller.c
Modified: spellcheck/src/speller.c
6 lines changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -311,11 +311,11 @@ static void broker_init_failed(void)
const gchar *msg = g_strdup_printf(
_("The Enchant library couldn't be initialized (%s)."),
(err != NULL) ? err : _("unknown error (maybe the chosen language is not available)"));
-
- msgwin_status_add(msg);
+
+ msgwin_status_add("%s", msg);
if (main_is_realized())
/* show dialog only after Geany has been loaded already, i.e. not while starting up */
- dialogs_show_msgbox(GTK_MESSAGE_ERROR, msg);
+ dialogs_show_msgbox(GTK_MESSAGE_ERROR, "%s", msg);
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list