diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-04 16:02:40 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-04 16:02:40 +0200 |
commit | 5be613c9c85bb0bcfea251bd891b505b91de4869 (patch) | |
tree | 702346f0b65e5cad2c6682e6491ec8fe8abc0f51 /Libraries | |
parent | b67acf9c887c4765c2d3db863944c81835129d6f (diff) | |
download | serenity-5be613c9c85bb0bcfea251bd891b505b91de4869.zip |
LibGUI: Fix bad KeyEvent::m_key initializer to unbreak SDL2 port
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibGUI/Event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/Event.h b/Libraries/LibGUI/Event.h index 93eef75d5b..12e0f3ba4d 100644 --- a/Libraries/LibGUI/Event.h +++ b/Libraries/LibGUI/Event.h @@ -288,7 +288,7 @@ public: private: friend class WindowServerConnection; - KeyCode m_key { 0 }; + KeyCode m_key { KeyCode::Key_Invalid }; u8 m_modifiers { 0 }; u32 m_scancode { 0 }; String m_text; |