From aef34af5568c410f971be0fc53175f131127afde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zawi=C5=9Blak?= Date: Fri, 25 Oct 2024 16:28:56 +0200 Subject: [PATCH] Update migration.md Fixing KeyPresssed typo --- migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration.md b/migration.md index 696c5d557..5bc8d8736 100644 --- a/migration.md +++ b/migration.md @@ -131,7 +131,7 @@ const auto onClose = [&window](const sf::Event::Closed&) window.close(); }; -const auto onKeyPressed = [&window](const sf::Event::KeyPresssed& keyPressed) +const auto onKeyPressed = [&window](const sf::Event::KeyPressed& keyPressed) { if (keyPressed.scancode == sf::Keyboard::Scancode::Escape) window.close();