Fix a conflict with the inventory offer button enum and the profile button's index

This commit is contained in:
Inusaito Sayori
2013-08-22 10:09:12 -04:00
parent f90752e81c
commit fea628fd82
2 changed files with 2 additions and 2 deletions

View File

@@ -1391,7 +1391,7 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD&
LLChat chat;
std::string log_message;
S32 button = LLNotificationsUtil::getSelectedOption(notification, response);
if (button == 3) // profile
if (button == 4) // profile
{
LLAvatarActions::showProfile(mFromID);
LLNotification::Params p(notification["name"]);