toString untags

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@133 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-19 22:47:16 +00:00
parent 1455ba25a4
commit f522cb9be6
+2 -1
View File
@@ -7,6 +7,7 @@
// ----------------------------------------------------------------------------- : Includes
#include <data/field/text.hpp>
#include <util/tagged_string.hpp>
#include <script/script.hpp>
// ----------------------------------------------------------------------------- : TextField
@@ -90,7 +91,7 @@ IMPLEMENT_REFLECTION(TextStyle) {
// ----------------------------------------------------------------------------- : TextValue
String TextValue::toString() const {
return value();
return untag(value());
}
bool TextValue::update(Context& ctx) {
Value::update(ctx);