diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-06-01 20:51:15 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 22:31:01 +0300 |
commit | d7447cdf9e4df3c345218886ab2bae0e0cc4fc55 (patch) | |
tree | 4ebc1c2fd91d66f8711ed87013af80a4adf53cc0 /src/content_nodemeta.cpp | |
parent | ff8d2bbc3682b12d40d1dfb212d39a50c498fb93 (diff) | |
download | minetest-d7447cdf9e4df3c345218886ab2bae0e0cc4fc55.tar.gz minetest-d7447cdf9e4df3c345218886ab2bae0e0cc4fc55.tar.bz2 minetest-d7447cdf9e4df3c345218886ab2bae0e0cc4fc55.zip |
Implement sign using form field protocol
Diffstat (limited to 'src/content_nodemeta.cpp')
-rw-r--r-- | src/content_nodemeta.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content_nodemeta.cpp b/src/content_nodemeta.cpp index ba4a0e513..a2a341ae0 100644 --- a/src/content_nodemeta.cpp +++ b/src/content_nodemeta.cpp @@ -57,7 +57,9 @@ static bool content_nodemeta_deserialize_legacy_body( else if(id == NODEMETA_SIGN) // SignNodeMetadata { meta->setString("text", deSerializeLongString(is)); - meta->setString("infotext","\"${text}\""); + //meta->setString("infotext","\"${text}\""); + meta->setString("infotext", + std::string("\"") + meta->getString("text") + "\""); meta->setString("formspec","field[text;;${text}]"); return false; } |