From 1fa2ff04588b0f52b069b09ce84afdfa5b556416 Mon Sep 17 00:00:00 2001 From: Arnold Dumas Date: Sun, 3 Aug 2014 20:44:38 +0200 Subject: [PATCH 1/2] No space before exclamation mark. --- examples/pong/Pong.cpp | 4 ++-- examples/sound_capture/SoundCapture.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/pong/Pong.cpp b/examples/pong/Pong.cpp index 1b9a74fc..2b6ec1f1 100644 --- a/examples/pong/Pong.cpp +++ b/examples/pong/Pong.cpp @@ -165,12 +165,12 @@ int main() if (ball.getPosition().x - ballRadius < 0.f) { 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) { 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) { diff --git a/examples/sound_capture/SoundCapture.cpp b/examples/sound_capture/SoundCapture.cpp index a6946ac0..21f59175 100644 --- a/examples/sound_capture/SoundCapture.cpp +++ b/examples/sound_capture/SoundCapture.cpp @@ -85,7 +85,7 @@ int main() } // Finished ! - std::cout << std::endl << "Done !" << std::endl; + std::cout << std::endl << "Done!" << std::endl; // Wait until the user presses 'enter' key std::cout << "Press enter to exit..." << std::endl; From 700c2e3823643b3fbad19ad92730c293082064b9 Mon Sep 17 00:00:00 2001 From: Arnold Dumas Date: Sun, 3 Aug 2014 21:18:27 +0200 Subject: [PATCH 2/2] I missed one exclamation mark in the previous commit. --- examples/sound_capture/SoundCapture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/sound_capture/SoundCapture.cpp b/examples/sound_capture/SoundCapture.cpp index 21f59175..d3543441 100644 --- a/examples/sound_capture/SoundCapture.cpp +++ b/examples/sound_capture/SoundCapture.cpp @@ -84,7 +84,7 @@ int main() } } - // Finished ! + // Finished! std::cout << std::endl << "Done!" << std::endl; // Wait until the user presses 'enter' key