limit llDialog buttons text to 24 bytes (at lludp level)

avinationmerge
UbitUmarov 2015-11-11 05:55:34 +00:00
parent 2b937fdf40
commit adda0ab7d8
1 changed files with 1 additions and 1 deletions

View File

@ -2444,7 +2444,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
for (int i = 0; i < buttonlabels.Length; i++)
{
buttons[i] = new ScriptDialogPacket.ButtonsBlock();
buttons[i].ButtonLabel = Util.StringToBytes256(buttonlabels[i]);
buttons[i].ButtonLabel = Util.StringToBytes(buttonlabels[i],24);
}
dialog.Buttons = buttons;