diff options
author | onefang | 2019-07-20 20:24:25 +1000 |
---|---|---|
committer | onefang | 2019-07-20 20:24:25 +1000 |
commit | bdd2d59d6d97e555ad572d1ec5649697233903ab (patch) | |
tree | fc3510a76ec83e3af44daa558f8da3b154bb372e /OpenSim/Region/ClientStack | |
parent | Switch to using the internal offline message URL by default. (diff) | |
download | opensim-SC-bdd2d59d6d97e555ad572d1ec5649697233903ab.zip opensim-SC-bdd2d59d6d97e555ad572d1ec5649697233903ab.tar.gz opensim-SC-bdd2d59d6d97e555ad572d1ec5649697233903ab.tar.bz2 opensim-SC-bdd2d59d6d97e555ad572d1ec5649697233903ab.tar.xz |
Allow menu items longer than 24 characters once more.
I've never seen any problems with allowing this, my NPC tool does that.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-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 edd22a8..c18f587 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -2518,7 +2518,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2518 | for (int i = 0; i < buttonlabels.Length; i++) | 2518 | for (int i = 0; i < buttonlabels.Length; i++) |
2519 | { | 2519 | { |
2520 | buttons[i] = new ScriptDialogPacket.ButtonsBlock(); | 2520 | buttons[i] = new ScriptDialogPacket.ButtonsBlock(); |
2521 | buttons[i].ButtonLabel = Util.StringToBytes(buttonlabels[i],24); | 2521 | buttons[i].ButtonLabel = Util.StringToBytes256(buttonlabels[i]); |
2522 | } | 2522 | } |
2523 | dialog.Buttons = buttons; | 2523 | dialog.Buttons = buttons; |
2524 | 2524 | ||