summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-07-20 08:37:10 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-07-20 08:37:10 +0200
commit8c9e10553cd429857086a9d635fc55305065ff76 (patch)
tree0fa8472544175adfa4f5fe49a887f9bc6dd0a19a /core
parent286c88bb50003fc9f8c20ecd8fa348bf2027deae (diff)
Fix build issues and typos after c69de2ba4
Diffstat (limited to 'core')
-rw-r--r--core/os/os.cpp3
-rw-r--r--core/os/os.h2
-rw-r--r--core/project_settings.h8
3 files changed, 7 insertions, 6 deletions
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<String> &p_restart_argum
bool OS::is_restart_on_exit_set() const {
return restart_on_exit;
}
-List<String> OS::get_restart_on_exit_argumens() const {
+
+List<String> 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<String> &p_restart_arguments);
bool is_restart_on_exit_set() const;
- List<String> get_restart_on_exit_argumens() const;
+ List<String> 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) {
}
};