summary refs log tree commit diff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index ff0c973..b62ea8a 100644
--- a/parse.c
+++ b/parse.c
@@ -78,7 +78,7 @@ int parse_gophermap_line(struct doc *d, strv_t ln) {
 		url[urln] = 0;
 		doc_set_link(d, doc_add_link(d, url));
 	case 'i':
-		doc_add_textn(d, bits.dstr.s, bits.dstr.n);
+		doc_add_text(d, bits.dstr);
 		doc_new_line(d);
 		break;
 	}