From 4094425f27e2cf7e9e62e6e888db543f0da053a8 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Mon, 19 Nov 2018 13:26:21 +0100 Subject: [PATCH] support https:// links in generatedoc.c as well --- src/generatedoc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/generatedoc.c b/src/generatedoc.c index c3762656..aeb1164e 100644 --- a/src/generatedoc.c +++ b/src/generatedoc.c @@ -173,8 +173,12 @@ static const char * Export_help_table(FILE * f, unsigned int page) char * link = strstr(table[index].Text, "http://"); if (link == NULL) { - link = strstr(table[index].Text, "www."); - prefix = "http://"; + link = strstr(table[index].Text, "https://"); + if (link == NULL) + { + link = strstr(table[index].Text, "www."); + prefix = "http://"; + } } if (link != NULL) {