From df8260a1c4eead17aa5b4872b6df5d361345a507 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 2b19d398..ac6b00eb 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