From 4cde8bb69ccee444f2442608174bb3858a0ab2a8 Mon Sep 17 00:00:00 2001 From: Fytch Date: Thu, 23 Feb 2017 18:37:06 +0100 Subject: [PATCH] Corrected documentation --- include/SFML/Graphics/Font.hpp | 2 +- include/SFML/Graphics/Text.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SFML/Graphics/Font.hpp b/include/SFML/Graphics/Font.hpp index 19c0308ef..9451f08cf 100644 --- a/include/SFML/Graphics/Font.hpp +++ b/include/SFML/Graphics/Font.hpp @@ -91,7 +91,7 @@ public: /// /// The supported font formats are: TrueType, Type 1, CFF, /// OpenType, SFNT, X11 PCF, Windows FNT, BDF, PFR and Type 42. - /// Note that this function know nothing about the standard + /// Note that this function knows nothing about the standard /// fonts installed on the user's system, thus you can't /// load them directly. /// diff --git a/include/SFML/Graphics/Text.hpp b/include/SFML/Graphics/Text.hpp index f3e389fea..7b7cf611b 100644 --- a/include/SFML/Graphics/Text.hpp +++ b/include/SFML/Graphics/Text.hpp @@ -445,7 +445,7 @@ private: /// sf::Text text("hello", font); /// text.setCharacterSize(30); /// text.setStyle(sf::Text::Bold); -/// text.setColor(sf::Color::Red); +/// text.setFillColor(sf::Color::Red); /// /// // Draw it /// window.draw(text);