From 506ec95fdeff1d697b4c1a8372fb3ae74410587d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20D=C3=BCrrenberger?= Date: Thu, 16 Jul 2015 15:52:01 +0200 Subject: [PATCH] Fixed a typo of the example in the font header. --- include/SFML/Graphics/Font.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SFML/Graphics/Font.hpp b/include/SFML/Graphics/Font.hpp index 2b19d3987..ac6b00eb6 100644 --- a/include/SFML/Graphics/Font.hpp +++ b/include/SFML/Graphics/Font.hpp @@ -414,7 +414,7 @@ private: /// sf::Text text2; /// text2.setFont(font); /// text2.setCharacterSize(50); -/// text1.setStyle(sf::Text::Italic); +/// text2.setStyle(sf::Text::Italic); /// \endcode /// /// Apart from loading font files, and passing them to instances