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) {