diff options
author | wrmr | 2024-11-08 23:25:03 -0500 |
---|---|---|
committer | wrmr | 2024-11-08 23:25:03 -0500 |
commit | 012ed5bd6455ce291741ad540a5e356e4810133b (patch) | |
tree | 32bfb5425b1f1a899c497ce817b44111dcd0ff54 /nav.c | |
parent | 6050dcdd3669b7102f35a226a6a3ee485c7b703a (diff) |
use strv_t for doc_add_text, remove doc_add_textn, add strv()
Diffstat (limited to 'nav.c')
-rw-r--r-- | nav.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |