mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
limit llDialog buttons text to 24 bytes (at lludp level)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user