Fix notecards that end with an embedded object causing an exception
parent
835e4dbc2c
commit
d7622cbedc
|
@ -340,7 +340,7 @@ namespace OpenSim.Framework
|
||||||
|
|
||||||
int count = -1;
|
int count = -1;
|
||||||
|
|
||||||
while (count < len)
|
while (count < len && idx < input.Length)
|
||||||
{
|
{
|
||||||
// int l = input[idx].Length;
|
// int l = input[idx].Length;
|
||||||
string ln = input[idx];
|
string ln = input[idx];
|
||||||
|
@ -375,4 +375,4 @@ namespace OpenSim.Framework
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue