mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
sys: Fixed opening custom protocols in the web browser
This commit is contained in:
@@ -169,7 +169,7 @@ namespace hex {
|
||||
|
||||
void openWebpage(std::string url) {
|
||||
|
||||
if (!url.starts_with("http://") && !url.starts_with("https://"))
|
||||
if (url.find("://") == std::string::npos)
|
||||
url = "https://" + url;
|
||||
|
||||
#if defined(OS_WINDOWS)
|
||||
|
||||
Reference in New Issue
Block a user