Author: mordante
Date: Fri Jul 18 20:39:47 2008
New Revision: 28074
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28074&view=rev
Log:
Add a warning that a t_string can't be used as static object.
Modified:
trunk/src/tstring.hpp
Modified: trunk/src/tstring.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tstring.hpp?rev=28074&r1=28073&r2=28074&view=diff
==============================================================================
--- trunk/src/tstring.hpp (original)
+++ trunk/src/tstring.hpp Fri Jul 18 20:39:47 2008
@@ -17,6 +17,12 @@
#include <string>
+/**
+ * Helper class for translatable strings.
+ *
+ * NOTE don't use static t_string objects since they don't change when the
+ * language changes.
+ */
class t_string
{
public:
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits