support https in help menu
This commit is contained in:
parent
b136b1a829
commit
658819cfac
|
|
@ -75,7 +75,7 @@ void process_xlink( const char* filename, const char *menu_name, const char *bas
|
||||||
|
|
||||||
xmlChar* prop = xmlGetProp( pNode, reinterpret_cast<const xmlChar*>( "url" ) );
|
xmlChar* prop = xmlGetProp( pNode, reinterpret_cast<const xmlChar*>( "url" ) );
|
||||||
ASSERT_NOTNULL( prop );
|
ASSERT_NOTNULL( prop );
|
||||||
if ( strstr( reinterpret_cast<const char*>( prop ), "http://" ) ) {
|
if ( strstr( reinterpret_cast<const char*>( prop ), "http://" ) || strstr( reinterpret_cast<const char*>( prop ), "https://" ) ) {
|
||||||
// complete URL
|
// complete URL
|
||||||
url = reinterpret_cast<const char*>( prop );
|
url = reinterpret_cast<const char*>( prop );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user