summaryrefslogtreecommitdiff
path: root/src/dged/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dged/buffer.c')
-rw-r--r--src/dged/buffer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dged/buffer.c b/src/dged/buffer.c
index 9eab505..0fac694 100644
--- a/src/dged/buffer.c
+++ b/src/dged/buffer.c
@@ -61,7 +61,9 @@ static struct kill_ring {
uint64_t found_at = -1; \
VEC_FOR_EACH_INDEXED(hooks, struct name##_hook *h, idx) { \
if (h->id == id) { \
- callback(h->userdata); \
+ if (callback != NULL) { \
+ callback(h->userdata); \
+ } \
found_at = idx; \
break; \
} \
@@ -1073,6 +1075,8 @@ static void apply_properties(struct command_list *cmds,
}
break;
}
+ case TextProperty_Data:
+ break;
}
}
}