mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
allow to open https:// urls
This commit is contained in:
parent
95ae5af82b
commit
574dd47394
1 changed files with 2 additions and 1 deletions
|
@ -902,7 +902,8 @@ void MainFrame::process_xlink( Str &FileName, const char *menu_name, const char
|
|||
if ( !strcmp( (const char*)pNode->name, "item" ) ) {
|
||||
// process the URL
|
||||
Str *url;
|
||||
if ( strstr( (char *)xmlGetProp( pNode, (xmlChar *)"url" ), "http://" ) ) {
|
||||
if ( strstr( (char *)xmlGetProp( pNode, (xmlChar *)"url" ), "http://" )
|
||||
|| strstr( (char *)xmlGetProp( pNode, (xmlChar *)"url" ), "https://" ) ) {
|
||||
// complete URL
|
||||
url = new Str;
|
||||
*url = (char *)xmlGetProp( pNode, (xmlChar *)"url" );
|
||||
|
|
Loading…
Reference in a new issue