summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/input/inputmanager.cpp2
-rw-r--r--src/input/keyboardconfig.cpp4
-rw-r--r--src/input/keyboardconfig.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index d3f14ac2c..e7cdfb4b2 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -590,7 +590,7 @@ bool InputManager::handleEvent(const SDL_Event &restrict event) restrict2
return true;
}
- keyboard.handleActicateKey(event);
+ keyboard.handleActivateKey(event);
// send straight to gui for certain windows
#ifndef DYECMD
if (quitDialog || TextDialog::isActive())
diff --git a/src/input/keyboardconfig.cpp b/src/input/keyboardconfig.cpp
index 81b16ecf2..888b86724 100644
--- a/src/input/keyboardconfig.cpp
+++ b/src/input/keyboardconfig.cpp
@@ -215,7 +215,7 @@ void KeyboardConfig::update()
mKeyTimeMap, InputType::KEYBOARD);
}
-void KeyboardConfig::handleActicateKey(const SDL_Event &event)
+void KeyboardConfig::handleActivateKey(const SDL_Event &event)
{
if (!mActiveKeys2)
return;
@@ -225,7 +225,7 @@ void KeyboardConfig::handleActicateKey(const SDL_Event &event)
resetRepeat(key);
}
-void KeyboardConfig::handleActicateKey(const int key)
+void KeyboardConfig::handleActivateKey(const int key)
{
if (!mActiveKeys2)
return;
diff --git a/src/input/keyboardconfig.h b/src/input/keyboardconfig.h
index 21b7ac608..6bd66f69f 100644
--- a/src/input/keyboardconfig.h
+++ b/src/input/keyboardconfig.h
@@ -93,9 +93,9 @@ class KeyboardConfig final
void update();
- void handleActicateKey(const SDL_Event &event);
+ void handleActivateKey(const SDL_Event &event);
- void handleActicateKey(const int key);
+ void handleActivateKey(const int key);
void handleDeActicateKey(const SDL_Event &event);