From 8c9e10553cd429857086a9d635fc55305065ff76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 20 Jul 2018 08:37:10 +0200 Subject: Fix build issues and typos after c69de2ba4 --- core/os/os.cpp | 3 ++- core/os/os.h | 2 +- core/project_settings.h | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) (limited to 'core') diff --git a/core/os/os.cpp b/core/os/os.cpp index 3b34f0aa15..89866e4044 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -667,7 +667,8 @@ void OS::set_restart_on_exit(bool p_restart, const List &p_restart_argum bool OS::is_restart_on_exit_set() const { return restart_on_exit; } -List OS::get_restart_on_exit_argumens() const { + +List OS::get_restart_on_exit_arguments() const { return restart_commandline; } diff --git a/core/os/os.h b/core/os/os.h index 2e4888dfba..4e0cb003fb 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -502,7 +502,7 @@ public: void set_restart_on_exit(bool p_restart, const List &p_restart_arguments); bool is_restart_on_exit_set() const; - List get_restart_on_exit_argumens() const; + List get_restart_on_exit_arguments() const; OS(); virtual ~OS(); diff --git a/core/project_settings.h b/core/project_settings.h index 28b96a8144..75ebc5acc8 100644 --- a/core/project_settings.h +++ b/core/project_settings.h @@ -64,16 +64,16 @@ protected: order(0), persist(false), hide_from_editor(false), - overridden(false) { - restart_if_changed = false; + overridden(false), + restart_if_changed(false) { } VariantContainer(const Variant &p_variant, int p_order, bool p_persist = false) : order(p_order), persist(p_persist), variant(p_variant), hide_from_editor(false), - overridden(false) { - restart_if_changed = false; + overridden(false), + restart_if_changed(false) { } }; -- cgit v1.2.3