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