diff options
author | UbitUmarov | 2015-11-11 05:55:34 +0000 |
---|---|---|
committer | UbitUmarov | 2015-11-11 05:55:34 +0000 |
commit | adda0ab7d8e398d3619b8acad3237fee1f49a62a (patch) | |
tree | d372955fe741baf1f1002f67ada8a13e8a9998c3 | |
parent | reduce the small MTU violation sending terrain compressed patchs (diff) | |
download | opensim-SC-adda0ab7d8e398d3619b8acad3237fee1f49a62a.zip opensim-SC-adda0ab7d8e398d3619b8acad3237fee1f49a62a.tar.gz opensim-SC-adda0ab7d8e398d3619b8acad3237fee1f49a62a.tar.bz2 opensim-SC-adda0ab7d8e398d3619b8acad3237fee1f49a62a.tar.xz |
limit llDialog buttons text to 24 bytes (at lludp level)
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 757abd4..62206e9 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -2444,7 +2444,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2444 | for (int i = 0; i < buttonlabels.Length; i++) | 2444 | for (int i = 0; i < buttonlabels.Length; i++) |
2445 | { | 2445 | { |
2446 | buttons[i] = new ScriptDialogPacket.ButtonsBlock(); | 2446 | buttons[i] = new ScriptDialogPacket.ButtonsBlock(); |
2447 | buttons[i].ButtonLabel = Util.StringToBytes256(buttonlabels[i]); | 2447 | buttons[i].ButtonLabel = Util.StringToBytes(buttonlabels[i],24); |
2448 | } | 2448 | } |
2449 | dialog.Buttons = buttons; | 2449 | dialog.Buttons = buttons; |
2450 | 2450 | ||