Updated the code example of the documentation main page

This commit is contained in:
Laurent Gomila 2011-05-11 23:15:58 +02:00
parent a4f6e915a0
commit 67455e1a16

View File

@ -46,7 +46,7 @@
/// { /// {
/// // Process events /// // Process events
/// sf::Event event; /// sf::Event event;
/// while (window.GetEvent(event)) /// while (window.PollEvent(event))
/// { /// {
/// // Close window : exit /// // Close window : exit
/// if (event.Type == sf::Event::Closed) /// if (event.Type == sf::Event::Closed)