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();