mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Fix notecards that end with an embedded object causing an exception
This commit is contained in:
@@ -340,7 +340,7 @@ namespace OpenSim.Framework
|
||||
|
||||
int count = -1;
|
||||
|
||||
while (count < len)
|
||||
while (count < len && idx < input.Length)
|
||||
{
|
||||
// int l = input[idx].Length;
|
||||
string ln = input[idx];
|
||||
@@ -375,4 +375,4 @@ namespace OpenSim.Framework
|
||||
return output;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user