From 9205942917e76a5d9b552ed7c878a00226d5cd18 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Sat, 3 Sep 2011 10:18:09 +0200 Subject: [PATCH] Minor fix in API documentation --- include/SFML/Window/Event.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SFML/Window/Event.hpp b/include/SFML/Window/Event.hpp index e294cc0e2..2b6d56f63 100644 --- a/include/SFML/Window/Event.hpp +++ b/include/SFML/Window/Event.hpp @@ -223,7 +223,7 @@ public : /// window.Close(); /// /// // The escape key was pressed -/// if ((event.Type == sf::Event::KeyPressed) && (event.Key.Code == sf::Key::Escape)) +/// if ((event.Type == sf::Event::KeyPressed) && (event.Key.Code == sf::Keyboard::Escape)) /// window.Close(); /// /// // The window was resized