From ce088cbf9c3a73e9f9ed3012d31dd6e989d86052 Mon Sep 17 00:00:00 2001 From: wrmr Date: Sun, 3 Nov 2024 12:12:20 -0500 Subject: file:// plaintext reading complete, add nav_next/nav_prev --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.c') diff --git a/net.c b/net.c index e90d3c0..b826e96 100644 --- a/net.c +++ b/net.c @@ -29,7 +29,7 @@ int net_addr(const char *url, struct addr *adr, enum protocol prot_default) { } if (adr->prot == PROT_FILE) { - adr->type = TYPE_PLAIN; + adr->type = DOC_PLAIN; adr->host_len = 0; size_t n = strlen(url); if (n >= PATH_MAX) return -1; -- cgit 1.4.1-2-gfad0