From ac2b5e57cf2805eb24370b664380322d62a04eff Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Mon, 8 Feb 2021 19:07:34 +0100 Subject: Fix: mention our websites with https:// (instead of http://) (#8657) It is 2021. Nobody should advertise http anymore. Not even us. --- src/misc_gui.cpp | 2 +- src/network/network_content_gui.cpp | 2 +- 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); -- cgit v1.2.3-54-g00ecf