From a976270e81c0df19b60364611f357ef75acba64c Mon Sep 17 00:00:00 2001 From: Squareys Date: Mon, 17 Dec 2018 08:11:20 +0100 Subject: [PATCH] Platform: Fix typo in KeyEvent::Key::Smicolon Signed-off-by: Squareys --- src/Magnum/Platform/GlfwApplication.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Platform/GlfwApplication.h b/src/Magnum/Platform/GlfwApplication.h index ea1132d761..4d0b23dda6 100644 --- a/src/Magnum/Platform/GlfwApplication.h +++ b/src/Magnum/Platform/GlfwApplication.h @@ -1420,7 +1420,11 @@ class GlfwApplication::KeyEvent: public GlfwApplication::InputEvent { Slash = GLFW_KEY_SLASH, /**< Slash */ /* Note: This may only be represented as SHIFT + 5 */ Percent = '%', /**< Percent */ - Smicolon = GLFW_KEY_SEMICOLON, /**< Semicolon */ + Semicolon = GLFW_KEY_SEMICOLON, /**< Semicolon */ +#ifndef CORRADE_BUILD_DEPRECATED + CORRADE_DEPRECATED("Use KeyEvent::Key::Semicolon instead") + Smicolon = Semicolon, /**< Semicolon */ +#endif Equal = GLFW_KEY_EQUAL, /**< Equal */ Zero = GLFW_KEY_0, /**< Zero */