From 67455e1a16f797a6e724c701cd9e6a2481384442 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Wed, 11 May 2011 23:15:58 +0200 Subject: [PATCH] Updated the code example of the documentation main page --- doc/mainpage.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/mainpage.hpp b/doc/mainpage.hpp index dc1ece9cd..a421827d3 100644 --- a/doc/mainpage.hpp +++ b/doc/mainpage.hpp @@ -46,7 +46,7 @@ /// { /// // Process events /// sf::Event event; -/// while (window.GetEvent(event)) +/// while (window.PollEvent(event)) /// { /// // Close window : exit /// if (event.Type == sf::Event::Closed)