support https:// links in generatedoc.c as well

This commit is contained in:
Thomas Bernard
2018-11-19 13:26:21 +01:00
parent 5f1cda38aa
commit 4094425f27

View File

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