mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
fix: More P2468R2 issues
This commit is contained in:
@@ -276,8 +276,7 @@ namespace hex {
|
||||
}
|
||||
|
||||
void openWebpage(std::string url) {
|
||||
|
||||
if (url.find("://") == std::string::npos)
|
||||
if (!url.contains("://"))
|
||||
url = "https://" + url;
|
||||
|
||||
#if defined(OS_WINDOWS)
|
||||
|
||||
Reference in New Issue
Block a user