aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhoverview.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:54 -0500
committerJacek Antonelli2008-08-15 23:44:54 -0500
commitb2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch)
tree3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/newview/llhoverview.cpp
parentSecond Life viewer sources 1.14.0.1 (diff)
downloadmeta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz
Second Life viewer sources 1.15.0.2
Diffstat (limited to 'linden/indra/newview/llhoverview.cpp')
-rw-r--r--linden/indra/newview/llhoverview.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llhoverview.cpp b/linden/indra/newview/llhoverview.cpp
index 30ee2b0..6807b42 100644
--- a/linden/indra/newview/llhoverview.cpp
+++ b/linden/indra/newview/llhoverview.cpp
@@ -4,6 +4,7 @@
4 * 4 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 5 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code
7 * The source code in this file ("Source Code") is provided by Linden Lab 8 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0 9 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement 10 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -424,7 +425,7 @@ void LLHoverView::updateText()
424 { 425 {
425 temp_str = new LLString(); 426 temp_str = new LLString();
426 temp_str->append("For Sale: "); 427 temp_str->append("For Sale: ");
427 snprintf(cstring, sizeof(cstring), "L$%d", nodep->mSaleInfo.getSalePrice()); /*Flawfinder: ignore*/ 428 snprintf(cstring, sizeof(cstring), "L$%d", nodep->mSaleInfo.getSalePrice()); /* Flawfinder: ignore */
428 temp_str->append(cstring); 429 temp_str->append(cstring);
429 mText.addDataAtEnd(temp_str); 430 mText.addDataAtEnd(temp_str);
430 suppressObjectHoverDisplay = FALSE; // Show tip 431 suppressObjectHoverDisplay = FALSE; // Show tip
@@ -615,7 +616,7 @@ void LLHoverView::updateText()
615 if (hover_parcel && hover_parcel->getParcelFlag(PF_FOR_SALE)) 616 if (hover_parcel && hover_parcel->getParcelFlag(PF_FOR_SALE))
616 { 617 {
617 char buffer[MAX_STRING]; /*Flawfinder: ignore*/ 618 char buffer[MAX_STRING]; /*Flawfinder: ignore*/
618 snprintf(buffer, sizeof(buffer), "For Sale: L$%d", hover_parcel->getSalePrice() ); /*Flawfinder: ignore*/ 619 snprintf(buffer, sizeof(buffer), "For Sale: L$%d", hover_parcel->getSalePrice() ); /* Flawfinder: ignore */
619 620
620 line = new LLString(buffer); 621 line = new LLString(buffer);
621 mText.addDataAtEnd(line); 622 mText.addDataAtEnd(line);