diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llhoverview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llhoverview.cpp b/linden/indra/newview/llhoverview.cpp index 082f413..c19b361 100644 --- a/linden/indra/newview/llhoverview.cpp +++ b/linden/indra/newview/llhoverview.cpp | |||
@@ -414,7 +414,7 @@ void LLHoverView::updateText() | |||
414 | else if (for_sale) | 414 | else if (for_sale) |
415 | { | 415 | { |
416 | LLString::format_map_t args; | 416 | LLString::format_map_t args; |
417 | args["[AMOUNT]"] = nodep->mSaleInfo.getSalePrice(); | 417 | args["[AMOUNT]"] = llformat("%d", nodep->mSaleInfo.getSalePrice()); |
418 | line.append(LLTrans::getString("TooltipForSaleL$", args)); | 418 | line.append(LLTrans::getString("TooltipForSaleL$", args)); |
419 | suppressObjectHoverDisplay = FALSE; // Show tip | 419 | suppressObjectHoverDisplay = FALSE; // Show tip |
420 | } | 420 | } |
@@ -589,7 +589,7 @@ void LLHoverView::updateText() | |||
589 | if (hover_parcel && hover_parcel->getParcelFlag(PF_FOR_SALE)) | 589 | if (hover_parcel && hover_parcel->getParcelFlag(PF_FOR_SALE)) |
590 | { | 590 | { |
591 | LLString::format_map_t args; | 591 | LLString::format_map_t args; |
592 | args["[AMOUNT]"] = hover_parcel->getSalePrice(); | 592 | args["[AMOUNT]"] = llformat("%d", hover_parcel->getSalePrice()); |
593 | line = LLTrans::getString("TooltipForSaleL$", args); | 593 | line = LLTrans::getString("TooltipForSaleL$", args); |
594 | mText.push_back(line); | 594 | mText.push_back(line); |
595 | } | 595 | } |