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();
|
||||
}
|
||||
@ -86,6 +86,6 @@ int main(int, char const**)
|
||||
// Update the window
|
||||
window.display();
|
||||
}
|
||||
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
@ -84,6 +84,6 @@ int main(int argc, char const** argv)
|
||||
// Update the window
|
||||
window.display();
|
||||
}
|
||||
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user