From 86e80edfcd3ba660dea1ce337467a10e2e878b18 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 10 Sep 2018 19:18:26 -0400 Subject: Add /man command --- url.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'url.c') diff --git a/url.c b/url.c index 49bea65..902128a 100644 --- a/url.c +++ b/url.c @@ -82,5 +82,6 @@ void urlOpen(struct Tag tag, size_t at, size_t to) { if (tagIndex >= at && tagIndex < to) argv[argc++] = entry.url; tagIndex++; } - if (argc > 1) eventSpawn(argv); + argv[argc] = NULL; + if (argc > 1) eventPipe(argv); } -- cgit 1.4.1-2-gfad0