From e3261f043097ba3d9d0963365ac9025dd923646a Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Sat, 14 Jul 2012 17:26:21 +0200 Subject: [PATCH] Corrections in API documentation --- include/SFML/Graphics/Text.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/SFML/Graphics/Text.hpp b/include/SFML/Graphics/Text.hpp index 7bb50a55..6037ee7e 100644 --- a/include/SFML/Graphics/Text.hpp +++ b/include/SFML/Graphics/Text.hpp @@ -86,10 +86,10 @@ public : /// automatically be constructed from standard string types. /// So, the following calls are all valid: /// \code - /// text.SetString("hello"); - /// text.SetString(L"hello"); - /// text.SetString(std::string("hello")); - /// text.SetString(std::wstring(L"hello")); + /// text.setString("hello"); + /// text.setString(L"hello"); + /// text.setString(std::string("hello")); + /// text.setString(std::wstring(L"hello")); /// \endcode /// A text's string is empty by default. ///