summaryrefslogtreecommitdiff
path: root/indra/newview/llagentui.cpp
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2010-02-11 23:34:20 +0800
committerangela <angela@lindenlab.com>2010-02-11 23:34:20 +0800
commitf078c53da8ee11b7bb383c0974875b5ff4a15c6a (patch)
treef8fd975ace547f1e3c194cfa3446f1ef35b2d12b /indra/newview/llagentui.cpp
parent3684b437a0e1c4c8be6d05e3a5f131265b8f1a39 (diff)
parent5e12a2cb697ad1d82a472cc35fc3570209e5ec0e (diff)
merge with remote repo
Diffstat (limited to 'indra/newview/llagentui.cpp')
-rw-r--r--indra/newview/llagentui.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llagentui.cpp b/indra/newview/llagentui.cpp
index 7404fe5bc4..72ab9235cf 100644
--- a/indra/newview/llagentui.cpp
+++ b/indra/newview/llagentui.cpp
@@ -150,11 +150,17 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
sim_access_string.c_str());
break;
case LOCATION_FORMAT_NO_MATURITY:
- case LOCATION_FORMAT_FULL:
buffer = llformat("%s (%d, %d, %d)",
region_name.c_str(),
pos_x, pos_y, pos_z);
break;
+ case LOCATION_FORMAT_FULL:
+ buffer = llformat("%s (%d, %d, %d)%s%s",
+ region_name.c_str(),
+ pos_x, pos_y, pos_z,
+ sim_access_string.empty() ? "" : " - ",
+ sim_access_string.c_str());
+ break;
}
}
else