From 5be613c9c85bb0bcfea251bd891b505b91de4869 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 4 Jun 2020 16:02:40 +0200 Subject: [PATCH] LibGUI: Fix bad KeyEvent::m_key initializer to unbreak SDL2 port --- Libraries/LibGUI/Event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;