From b7d3d80dddba80268c72e406877701cbaa4856a3 Mon Sep 17 00:00:00 2001 From: James Cook Date: Tue, 2 Mar 2010 15:13:56 -0800 Subject: DEV-46231 "You paid" shows last name Resident if amount is L$1 Bad regex --- indra/newview/llviewermessage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 0815ce486d..6a131082da 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -4495,7 +4495,7 @@ static void show_money_balance_notification(const std::string& desc) // paid you L$. static const boost::regex paid_you("(.+) paid you L\\$(\\d+)\\."); // You paid L$ [for ]. - static const boost::regex you_paid("You paid (.*) L\\$(\\d+)(.+)\\."); + static const boost::regex you_paid("You paid (.*) L\\$(\\d+)(.*)\\."); if (boost::regex_match(desc, match, paid_you_for)) { -- cgit v1.2.3