support https:// links in generatedoc.c as well
This commit is contained in:
parent
5f1cda38aa
commit
4094425f27
@ -173,8 +173,12 @@ static const char * Export_help_table(FILE * f, unsigned int page)
|
|||||||
char * link = strstr(table[index].Text, "http://");
|
char * link = strstr(table[index].Text, "http://");
|
||||||
if (link == NULL)
|
if (link == NULL)
|
||||||
{
|
{
|
||||||
link = strstr(table[index].Text, "www.");
|
link = strstr(table[index].Text, "https://");
|
||||||
prefix = "http://";
|
if (link == NULL)
|
||||||
|
{
|
||||||
|
link = strstr(table[index].Text, "www.");
|
||||||
|
prefix = "http://";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (link != NULL)
|
if (link != NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user