Source code changes.

* Changed newlines to \n.
* Removed whitespace before colons.
* Fixed several alignments.
This commit is contained in:
Stefan Schindler 2014-09-30 16:07:25 +02:00
parent b27cbd5036
commit f24ca9a840
268 changed files with 40227 additions and 40227 deletions

View file

@ -63,12 +63,12 @@ int main(int, char const**)
sf::Event event;
while (window.pollEvent(event))
{
// Close window : exit
// Close window: exit
if (event.type == sf::Event::Closed) {
window.close();
}
// Escape pressed : exit
// Escape pressed: exit
if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) {
window.close();
}

View file

@ -6,7 +6,7 @@
// This code will work only if you selected window, graphics and audio.
//
// In order to load the resources like cute_image.png, you have to set up
// your target scheme :
// your target scheme:
//
// - Select "Edit Scheme…" in the "Product" menu;
// - Check the box "use custom working directory";
@ -61,12 +61,12 @@ int main(int argc, char const** argv)
sf::Event event;
while (window.pollEvent(event))
{
// Close window : exit
// Close window: exit
if (event.type == sf::Event::Closed) {
window.close();
}
// Escape pressed : exit
// Escape pressed: exit
if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) {
window.close();
}