From 741daccf0238ccbc022b4e047698be0480e0a5be Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Thu, 17 May 2012 01:14:22 +0200 Subject: [PATCH] Revert "app (gimprc): Delete dead assignment" This reverts commit d6d2a0bbd15f25d820631b4db6236f6a42b4b49c and allows more than one unknown gimprc token again. Fixes Bug 674096 - Strange behavior with gimprc (cherry picked from commit 8851ec0b6e463c070f513f3f44f40323da25934f) --- app/config/gimprc-unknown.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/config/gimprc-unknown.c b/app/config/gimprc-unknown.c index fa9d4f7256..4c5959d7ce 100644 --- a/app/config/gimprc-unknown.c +++ b/app/config/gimprc-unknown.c @@ -115,7 +115,11 @@ gimp_rc_add_unknown_token (GimpConfig *config, token->key = g_strdup (key); token->value = g_strdup (value); - if (!last) + if (last) + { + last = g_slist_last (g_slist_append (last, token)); + } + else { unknown_tokens = g_slist_append (NULL, token);