From 9bfd4c28dde82139029d596db16a35882f32056b Mon Sep 17 00:00:00 2001 From: dP Date: Fri, 5 Jun 2020 13:28:25 +0300 Subject: [PATCH] Try to fix designated initializer syntax for VS2017 --- src/order_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/order_gui.cpp b/src/order_gui.cpp index 0a0ce1dcf8..2eb057308f 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -1,6 +1,6 @@ /* * This file is part of OpenTTD. - * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version error:141A318A:SSL routines:tls_process_ske_dhe:dh key too smal. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . */ @@ -200,7 +200,7 @@ enum GetOrderFromSettingsTypes { static OrdersFromSettings GetOrdersFromSettings(const Vehicle *v, uint8 setting) { - OrdersFromSettings res { + OrdersFromSettings res = { .load = OLFB_NO_LOAD, .unload = OUFB_NO_UNLOAD, .mod = FeederOrderMod::NONE