From 012ed5bd6455ce291741ad540a5e356e4810133b Mon Sep 17 00:00:00 2001 From: wrmr Date: Fri, 8 Nov 2024 23:25:03 -0500 Subject: use strv_t for doc_add_text, remove doc_add_textn, add strv() --- nav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nav.c') diff --git a/nav.c b/nav.c index 8456a76..5e5d8ea 100644 --- a/nav.c +++ b/nav.c @@ -12,7 +12,7 @@ void nav_init(struct nav_state *ns) { memset(ns, 0, sizeof *ns); ns->histc = 1; doc_init(ns->histv); - doc_add_text(ns->histv, "Type ? for command help."); + doc_add_text(ns->histv, strv("Type ? for command help.")); ns->prot_default = PROT_GOPHER; } -- cgit 1.4.1-2-gfad0