diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llinventory/llsaleinfo.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llinventory/llsaleinfo.cpp')
-rw-r--r-- | linden/indra/llinventory/llsaleinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llinventory/llsaleinfo.cpp b/linden/indra/llinventory/llsaleinfo.cpp index 7aabdda..4895378 100644 --- a/linden/indra/llinventory/llsaleinfo.cpp +++ b/linden/indra/llinventory/llsaleinfo.cpp | |||
@@ -128,7 +128,7 @@ bool LLSaleInfo::fromLLSD(LLSD& sd, BOOL& has_perm_mask, U32& perm_mask) | |||
128 | LLXMLNode *LLSaleInfo::exportFileXML() const | 128 | LLXMLNode *LLSaleInfo::exportFileXML() const |
129 | { | 129 | { |
130 | LLXMLNode *ret = new LLXMLNode("sale_info", FALSE); | 130 | LLXMLNode *ret = new LLXMLNode("sale_info", FALSE); |
131 | LLString type_str = lookup(mSaleType); | 131 | std::string type_str = ll_safe_string( lookup(mSaleType)); |
132 | ret->createChild("type", TRUE)->setStringValue(1, &type_str); | 132 | ret->createChild("type", TRUE)->setStringValue(1, &type_str); |
133 | ret->createChild("price", TRUE)->setIntValue(1, &mSalePrice); | 133 | ret->createChild("price", TRUE)->setIntValue(1, &mSalePrice); |
134 | return ret; | 134 | return ret; |