From bdd2d59d6d97e555ad572d1ec5649697233903ab Mon Sep 17 00:00:00 2001 From: onefang Date: Sat, 20 Jul 2019 20:24:25 +1000 Subject: Allow menu items longer than 24 characters once more. I've never seen any problems with allowing this, my NPC tool does that. --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ClientStack') 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 for (int i = 0; i < buttonlabels.Length; i++) { buttons[i] = new ScriptDialogPacket.ButtonsBlock(); - buttons[i].ButtonLabel = Util.StringToBytes(buttonlabels[i],24); + buttons[i].ButtonLabel = Util.StringToBytes256(buttonlabels[i]); } dialog.Buttons = buttons; -- cgit v1.1