aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/SLUtil.cs
diff options
context:
space:
mode:
authorMelanie2010-12-16 21:01:38 +0100
committerMelanie2010-12-16 21:01:38 +0100
commitd7622cbedc3a4423ce5192f959851ba360c46fde (patch)
treedc290c8bf961b95dff398fa2e226188c276b271a /OpenSim/Framework/SLUtil.cs
parentAdd locks on m_killRecord without breaking things like justin did (diff)
downloadopensim-SC-d7622cbedc3a4423ce5192f959851ba360c46fde.zip
opensim-SC-d7622cbedc3a4423ce5192f959851ba360c46fde.tar.gz
opensim-SC-d7622cbedc3a4423ce5192f959851ba360c46fde.tar.bz2
opensim-SC-d7622cbedc3a4423ce5192f959851ba360c46fde.tar.xz
Fix notecards that end with an embedded object causing an exception
Diffstat (limited to 'OpenSim/Framework/SLUtil.cs')
-rw-r--r--OpenSim/Framework/SLUtil.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/SLUtil.cs b/OpenSim/Framework/SLUtil.cs
index 9941a7f..b337e03 100644
--- a/OpenSim/Framework/SLUtil.cs
+++ b/OpenSim/Framework/SLUtil.cs
@@ -340,7 +340,7 @@ namespace OpenSim.Framework
340 340
341 int count = -1; 341 int count = -1;
342 342
343 while (count < len) 343 while (count < len && idx < input.Length)
344 { 344 {
345 // int l = input[idx].Length; 345 // int l = input[idx].Length;
346 string ln = input[idx]; 346 string ln = input[idx];
@@ -375,4 +375,4 @@ namespace OpenSim.Framework
375 return output; 375 return output;
376 } 376 }
377 } 377 }
378} \ No newline at end of file 378}