From c7c9295ebab81e17d402eb696e5cdfbaeac01544 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 21 Feb 2022 19:22:45 +0100 Subject: [PATCH] [textarea] const ed --- src/viewer/text/textarea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer/text/textarea.c b/src/viewer/text/textarea.c index 25fdc27f7..51729d3d6 100644 --- a/src/viewer/text/textarea.c +++ b/src/viewer/text/textarea.c @@ -633,7 +633,7 @@ textarea_edit(int op, struct terminal *term_, struct form_state *fs_, } if (op == 0) { - char *ed; + const char *ed; char *ex; assert(fs_ && doc_view_ && link_ && term_);