diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-04-16 21:11:48 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-04-16 21:11:48 +0300 |
commit | 8217b47720df74f34c42f1b80a0d84f7d302e497 (patch) | |
tree | 28b5596624f239287502d85f4c97375cc3dd34a5 | |
parent | a6595dfa9b84ddca107d8f7c52694e2302f4c43d (diff) |
SL-10961 Mac buildfix
-rw-r--r-- | indra/newview/llpanelplaceprofile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpanelplaceprofile.cpp b/indra/newview/llpanelplaceprofile.cpp index 13e50904c2..104316e253 100644 --- a/indra/newview/llpanelplaceprofile.cpp +++ b/indra/newview/llpanelplaceprofile.cpp @@ -563,8 +563,8 @@ void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel, mSaleToText->setText(getString("anyone")); } - mSalesPriceText->setText(llformat("%s%d ", getString("price_text"), parcel->getSalePrice())); - mAreaText->setText(llformat("%d %s", area, getString("area_text"))); + mSalesPriceText->setText(llformat("%s%d ", getString("price_text").c_str(), parcel->getSalePrice())); + mAreaText->setText(llformat("%d %s", area, getString("area_text").c_str())); mTrafficText->setText(llformat("%.0f", dwell)); // Can't have more than region max tasks, regardless of parcel @@ -572,7 +572,7 @@ void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel, S32 primitives = llmin(ll_round(parcel->getMaxPrimCapacity() * parcel->getParcelPrimBonus()), (S32)region->getMaxTasks()); - mPrimitivesText->setText(llformat("%d %s, %d %s", primitives, getString("available"), parcel->getPrimCount(), getString("allocated"))); + mPrimitivesText->setText(llformat("%d %s, %d %s", primitives, getString("available").c_str(), parcel->getPrimCount(), getString("allocated").c_str())); if (parcel->getAllowOtherScripts()) { |