summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-04-07 16:18:28 -0700
committerJames Cook <james@lindenlab.com>2010-04-07 16:18:28 -0700
commitadcee4486b1ff7e3d60e3cd608172b15525242bc (patch)
tree0a691795f00bb98619017e43c7cf3ca6e1e5827a /indra/newview/llviewermessage.cpp
parent99f5307543e03e296edf2d9d9c0b26d38d56d034 (diff)
Added debug info to "you paid" messages for testing MoneyBalanceReply
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 8f68c34736..9cecf1fcca 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -4671,7 +4671,7 @@ void process_money_balance_reply( LLMessageSystem* msg, void** )
// "<avatar name> paid you L$"
const std::string marker = "paid you L$";
- args["MESSAGE"] = desc + item_description; // JAMESDEBUG
+ args["MESSAGE"] = desc + llformat(" JAMESDEBUG %d", transaction_type); // JAMESDEBUG;
// extract avatar name from system message
S32 marker_pos = desc.find(marker, 0);
@@ -4697,7 +4697,7 @@ void process_money_balance_reply( LLMessageSystem* msg, void** )
std::string new_description = LLTrans::getString("paid_you_ldollars", str_args);
- args["MESSAGE"] = new_description;
+ args["MESSAGE"] = new_description + llformat(" JAMESDEBUG %d", transaction_type); // JAMESDEBUG
args["NAME"] = LLCacheName::cleanFullName(name);
LLSD payload;
payload["from_id"] = from_id;
@@ -4757,7 +4757,7 @@ void process_money_balance_reply( LLMessageSystem* msg, void** )
// forming final message string by retrieving localized version from xml
// and applying previously found arguments
line = LLTrans::getString(line, str_args);
- args["MESSAGE"] = line;
+ args["MESSAGE"] = line + llformat(" JAMESDEBUG %d", transaction_type); // JAMESDEBUG;
}
}