summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/textprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c
index 5f249b59b99..5e9daf99fd0 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -885,7 +885,7 @@ Return t if any property value actually changed, nil otherwise.")
{
int got = (LENGTH (i) - (s - i->position));
if (got >= len)
- return Qnil;
+ RETURN_UNGCPRO (Qnil);
len -= got;
i = next_interval (i);
}