From 40ae917db8b057a02de730a1ee62cc4092a88da1 Mon Sep 17 00:00:00 2001 From: "Ron B. Yeh" Date: Tue, 28 Mar 2023 16:48:18 -0700 Subject: [PATCH] Fix typo on "autoremapping". Update warning strings to be consistent with the rest of the code base, which uses "Command or Control". --- core/input/input_event.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/input/input_event.cpp b/core/input/input_event.cpp index 9d5d84a5080..5fb4ab83f31 100644 --- a/core/input/input_event.cpp +++ b/core/input/input_event.cpp @@ -190,7 +190,7 @@ bool InputEventWithModifiers::is_alt_pressed() const { } void InputEventWithModifiers::set_ctrl_pressed(bool p_enabled) { - ERR_FAIL_COND_MSG(command_or_control_autoremap, "Command/Control autoremaping is enabled, cannot set Control directly!"); + ERR_FAIL_COND_MSG(command_or_control_autoremap, "Command or Control autoremapping is enabled, cannot set Control directly!"); ctrl_pressed = p_enabled; emit_changed(); } @@ -200,7 +200,7 @@ bool InputEventWithModifiers::is_ctrl_pressed() const { } void InputEventWithModifiers::set_meta_pressed(bool p_enabled) { - ERR_FAIL_COND_MSG(command_or_control_autoremap, "Command/Control autoremaping is enabled, cannot set Meta directly!"); + ERR_FAIL_COND_MSG(command_or_control_autoremap, "Command or Control autoremapping is enabled, cannot set Meta directly!"); meta_pressed = p_enabled; emit_changed(); }