From 00c1342cbf8d0f202cdb4f02fd5616afbf314acc Mon Sep 17 00:00:00 2001 From: johanengelen Date: Mon, 14 May 2007 23:11:59 +0000 Subject: [PATCH] Fix crash in sp-skeleton. --- src/sp-skeleton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sp-skeleton.cpp b/src/sp-skeleton.cpp index bd0d7e827..878d8f31b 100644 --- a/src/sp-skeleton.cpp +++ b/src/sp-skeleton.cpp @@ -146,7 +146,7 @@ static void sp_skeleton_set(SPObject *object, unsigned int key, gchar const *value) { debug("0x%p %s(%u): '%s'",object, - sp_attribute_name(key),key,value); + sp_attribute_name(key),key,value ? value : ""); SPSkeleton *skeleton = SP_SKELETON(object); /* See if any parents need this value. */ -- 2.30.2