aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'selection.c')
-rw-r--r--selection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/selection.c b/selection.c
index 7b0d93d7..7316dfc3 100644
--- a/selection.c
+++ b/selection.c
@@ -224,7 +224,7 @@ selection_to_text(const struct terminal *term)
&extract_one_const_wrapper, ctx);
char *text;
- return extract_finish(ctx, &text, NULL) ? text : NULL;
+ return extract_finish(ctx, true, &text, NULL) ? text : NULL;
}
void