Fix notecards that end with an embedded object causing an exception

This commit is contained in:
Melanie
2010-12-16 21:01:38 +01:00
parent 5782f5662b
commit b32dcc6913

View File

@@ -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;
}
}
}
}