support https in help menu

This commit is contained in:
Garux 2020-02-29 05:12:38 +03:00
parent b136b1a829
commit 658819cfac

View File

@ -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 );
} }