Skip to content

Commit

Permalink
Fix: mention our websites with https:// (instead of http://) (#8657)
Browse files Browse the repository at this point in the history
It is 2021. Nobody should advertise http anymore. Not even us.
  • Loading branch information
TrueBrain authored and pull[bot] committed Oct 18, 2021
1 parent 97ea733 commit 0001600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/misc_gui.cpp
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion src/network/network_content_gui.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 0001600

Please sign in to comment.