aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorMelanie2012-01-30 22:30:02 +0100
committerMelanie2012-01-30 22:30:02 +0100
commit0f181fe5d05e24886586e5882f4f6fe60c1dc30d (patch)
tree528da0e2b2ba66f739992a96df5d6e20860f140f /OpenSim/Region/ClientStack
parentMerge branch 'master' into careminster (diff)
downloadopensim-SC_OLD-0f181fe5d05e24886586e5882f4f6fe60c1dc30d.zip
opensim-SC_OLD-0f181fe5d05e24886586e5882f4f6fe60c1dc30d.tar.gz
opensim-SC_OLD-0f181fe5d05e24886586e5882f4f6fe60c1dc30d.tar.bz2
opensim-SC_OLD-0f181fe5d05e24886586e5882f4f6fe60c1dc30d.tar.xz
Fix displaying landmark and search info properly with long names
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index a50a61d..4f09d8f 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -2766,7 +2766,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2766 reply.Data.ParcelID = parcelID; 2766 reply.Data.ParcelID = parcelID;
2767 reply.Data.OwnerID = land.OwnerID; 2767 reply.Data.OwnerID = land.OwnerID;
2768 reply.Data.Name = Utils.StringToBytes(land.Name); 2768 reply.Data.Name = Utils.StringToBytes(land.Name);
2769 reply.Data.Desc = Utils.StringToBytes(land.Description.Substring(0, land.Description.Length > 254 ? 254: land.Description.Length)); 2769 if (land != null && land.Description != null && land.Description != String.Empty)
2770 reply.Data.Desc = Utils.StringToBytes(land.Description.Substring(0, land.Description.Length > 254 ? 254: land.Description.Length));
2771 else
2772 reply.Data.Desc = new Byte[0];
2770 reply.Data.ActualArea = land.Area; 2773 reply.Data.ActualArea = land.Area;
2771 reply.Data.BillableArea = land.Area; // TODO: what is this? 2774 reply.Data.BillableArea = land.Area; // TODO: what is this?
2772 2775