summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-08 19:07:34 +0100
committerGitHub <noreply@github.com>2021-02-08 19:07:34 +0100
commitac2b5e57cf2805eb24370b664380322d62a04eff (patch)
treee2e43dfa568bc2f4b1caad59ffe1b58c6b699ef4
parentda4c404f3d9be98427d292dd2dd707573aa4a68f (diff)
downloadopenttd-ac2b5e57cf2805eb24370b664380322d62a04eff.tar.xz
Fix: mention our websites with https:// (instead of http://) (#8657)
It is 2021. Nobody should advertise http anymore. Not even us.
-rw-r--r--src/misc_gui.cpp2
-rw-r--r--src/network/network_content_gui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index e5da5f3a1..9d0259b3b 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -510,7 +510,7 @@ struct AboutWindow : public Window {
void SetStringParameters(int widget) const override
{
- if (widget == WID_A_WEBSITE) SetDParamStr(0, "Website: http://www.openttd.org");
+ if (widget == WID_A_WEBSITE) SetDParamStr(0, "Website: https://www.openttd.org");
if (widget == WID_A_COPYRIGHT) SetDParamStr(0, _openttd_revision_year);
}
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 06e57a2ac..13e162b07 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -325,7 +325,7 @@ class NetworkContentListWindow : public Window, ContentCallback {
char url[1024];
const char *last = lastof(url);
- char *pos = strecpy(url, "http://grfsearch.openttd.org/?", last);
+ char *pos = strecpy(url, "https://grfsearch.openttd.org/?", last);
if (this->auto_select) {
pos = strecpy(pos, "do=searchgrfid&q=", last);