Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jPollock

Pages: [1]
1
General discussions / Re: SFML 2.0 RC
« on: July 14, 2012, 04:30:32 am »
Hi, just the case of the setString method in sf::Text class.

diff -Naur LaurentGomila-SFML-396f675.orig/include/SFML/Graphics/Text.hpp LaurentGomila-SFML-396f675/include/SFML/Graphics/Text.hpp
--- LaurentGomila-SFML-396f675.orig/include/SFML/Graphics/Text.hpp      2012-07-13 12:09:11.000000000 +0200
+++ LaurentGomila-SFML-396f675/include/SFML/Graphics/Text.hpp   2012-07-14 04:25:41.000000000 +0200
@@ -86,10 +86,10 @@
     /// 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.
     ///
 

Pages: [1]