woww: Update maximum length for null terminated strings
This is required for quest texts and descriptions which are often very long.
This commit is contained in:
parent
206cd1084f
commit
534a6d4e8a
|
@ -9438,7 +9438,7 @@ static gint32
|
|||
get_null_terminated_string_length( tvbuff_t* tvb,
|
||||
gint32 offset)
|
||||
{
|
||||
const gint32 maximum_length = 255;
|
||||
const gint32 maximum_length = 0x7FFF;
|
||||
for (gint32 length = 0; length < maximum_length; length++) {
|
||||
guint8 character = tvb_get_guint8(tvb, offset + length);
|
||||
if (character == 0) {
|
||||
|
|
Loading…
Reference in New Issue