Merge pull request #673 from arnolddumas/master

No space before exclamation mark.
This commit is contained in:
Laurent Gomila 2014-08-03 22:47:23 +02:00
commit 386f56d6a4
2 changed files with 4 additions and 4 deletions

View File

@ -165,12 +165,12 @@ int main()
if (ball.getPosition().x - ballRadius < 0.f) if (ball.getPosition().x - ballRadius < 0.f)
{ {
isPlaying = false; isPlaying = false;
pauseMessage.setString("You lost !\nPress space to restart or\nescape to exit"); pauseMessage.setString("You lost!\nPress space to restart or\nescape to exit");
} }
if (ball.getPosition().x + ballRadius > gameWidth) if (ball.getPosition().x + ballRadius > gameWidth)
{ {
isPlaying = false; isPlaying = false;
pauseMessage.setString("You won !\nPress space to restart or\nescape to exit"); pauseMessage.setString("You won!\nPress space to restart or\nescape to exit");
} }
if (ball.getPosition().y - ballRadius < 0.f) if (ball.getPosition().y - ballRadius < 0.f)
{ {

View File

@ -84,8 +84,8 @@ int main()
} }
} }
// Finished ! // Finished!
std::cout << std::endl << "Done !" << std::endl; std::cout << std::endl << "Done!" << std::endl;
// Wait until the user presses 'enter' key // Wait until the user presses 'enter' key
std::cout << "Press enter to exit..." << std::endl; std::cout << "Press enter to exit..." << std::endl;