mirror of
https://github.com/SFML/SFML.git
synced 2025-01-31 13:45:13 +08:00
Fix typo
This commit is contained in:
parent
6f68192272
commit
1b113c2c22
@ -68,7 +68,7 @@ int main(int, char const**)
|
||||
window.close();
|
||||
}
|
||||
|
||||
// Espace pressed : exit
|
||||
// Escape pressed : exit
|
||||
if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) {
|
||||
window.close();
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ int main(int argc, char const** argv)
|
||||
window.close();
|
||||
}
|
||||
|
||||
// Espace pressed : exit
|
||||
// Escape pressed : exit
|
||||
if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) {
|
||||
window.close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user