[gimp] Added workaround for the solaris-printf behaviour.



commit 68e16056664fcd3b658eab4f6e02a24c78c1f532
Author: Simon Budig <simon gimp org>
Date:   Thu Nov 5 10:55:00 2009 +0100

    Added workaround for the solaris-printf behaviour.

 app/core/gimptagcache.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimptagcache.c b/app/core/gimptagcache.c
index 41c9a11..48d56f5 100644
--- a/app/core/gimptagcache.c
+++ b/app/core/gimptagcache.c
@@ -290,8 +290,8 @@ gimp_tag_cache_add_object (GimpTagCache *cache,
               if (rec->checksum == checksum_quark)
                 {
                   g_printerr ("remapping identifier: %s ==> %s\n",
-                              g_quark_to_string (rec->identifier),
-                              g_quark_to_string (identifier_quark));
+                              rec->identifier ? g_quark_to_string (rec->identifier) : "(NULL)",
+                              identifier_quark ? g_quark_to_string (identifier_quark) : "(NULL)");
                   rec->identifier = identifier_quark;
 
                   for (list = rec->tags; list; list = g_list_next (list))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]