Changeset - r24736:60baa8063524
[Not reviewed]
master
0 2 0
Patric Stout - 3 years ago 2021-02-08 18:07:34
truebrain@openttd.org
Fix: mention our websites with https:// (instead of http://) (#8657)

It is 2021. Nobody should advertise http anymore. Not even us.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/misc_gui.cpp
Show inline comments
 
@@ -507,13 +507,13 @@ struct AboutWindow : public Window {
 
		this->text_position = this->GetWidget<NWidgetBase>(WID_A_SCROLLING_TEXT)->pos_y + this->GetWidget<NWidgetBase>(WID_A_SCROLLING_TEXT)->current_y;
 
		this->timer.SetInterval(TIMER_INTERVAL);
 
	}
 

	
 
	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);
 
	}
 

	
 
	void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize) override
 
	{
 
		if (widget != WID_A_SCROLLING_TEXT) return;
src/network/network_content_gui.cpp
Show inline comments
 
@@ -322,13 +322,13 @@ class NetworkContentListWindow : public 
 
	{
 
		extern void OpenBrowser(const char *url);
 

	
 
		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);
 

	
 
			bool first = true;
 
			for (const ContentInfo *ci : this->content) {
0 comments (0 inline, 0 general)