diff --git a/include/SFML/Graphics/Text.hpp b/include/SFML/Graphics/Text.hpp index 7bb50a556..6037ee7e5 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. ///