aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decorate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decorate.c b/decorate.c
index 2f8a63e38..7cb5d29a8 100644
--- a/decorate.c
+++ b/decorate.c
@@ -49,7 +49,7 @@ static void grow_decoration(struct decoration *n)
const struct object *base = old_hash[i].base;
void *decoration = old_hash[i].decoration;
- if (!base)
+ if (!decoration)
continue;
insert_decoration(n, base, decoration);
}