From: Mikael Magnusson Date: Fri, 19 Feb 2010 21:13:32 +0000 (+0100) Subject: g_message with variable X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=commitdiff_plain;h=9eaa3c81c9b13091bd1ba700f2cc9537acc16dfe;ds=sidebyside g_message with variable --- diff --git a/openbox/openbox.c b/openbox/openbox.c index f19f064..12fb2f6 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -711,7 +711,7 @@ static Cursor load_cursor(const gchar *name, guint fontval) void ob_exit_with_error(const gchar *msg) { - g_message(msg); + g_message("%s", msg); session_shutdown(TRUE); exit(EXIT_FAILURE); }