[gimp] app: Fix non-string-literal warning for g_print() test-config.c
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] app: Fix non-string-literal warning for g_print() test-config.c
- Date: Sat, 5 Sep 2009 12:32:00 +0000 (UTC)
commit b43659fa6215a9d4bd33f317d8f3a1f6a47e89f8
Author: Martin Nordholts <martinn src gnome org>
Date: Sat Sep 5 14:26:00 2009 +0200
app: Fix non-string-literal warning for g_print() test-config.c
app/config/test-config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/config/test-config.c b/app/config/test-config.c
index 0153142..940c826 100644
--- a/app/config/test-config.c
+++ b/app/config/test-config.c
@@ -230,7 +230,7 @@ output_unknown_token (const gchar *key,
if (*header)
{
- g_print (*header);
+ g_print ("%s", *header);
*header = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]