1
0
mirror of https://github.com/SFML/SFML.git synced 2025-03-14 01:40:05 +08:00
This commit is contained in:
Marco Antognini 2013-09-20 15:11:22 +02:00
parent 6f68192272
commit 1b113c2c22
2 changed files with 4 additions and 4 deletions
tools/xcode/templates/SFML
SFML App.xctemplate
SFML CLT.xctemplate

@ -68,7 +68,7 @@ int main(int, char const**)
window.close(); window.close();
} }
// Espace pressed : exit // Escape pressed : exit
if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) { if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) {
window.close(); window.close();
} }

@ -66,7 +66,7 @@ int main(int argc, char const** argv)
window.close(); window.close();
} }
// Espace pressed : exit // Escape pressed : exit
if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) { if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) {
window.close(); window.close();
} }