aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/SLUtil.cs
diff options
context:
space:
mode:
authorMelanie2010-12-16 21:01:38 +0100
committerMelanie2010-12-17 22:50:00 +0000
commitb32dcc6913a1b82064af3885bcde3e979bfe8830 (patch)
treea69ff9f166b69c5494848259a66697c36013aa4b /OpenSim/Framework/SLUtil.cs
parentremove now unused subversion serialization backup config (diff)
downloadopensim-SC_OLD-b32dcc6913a1b82064af3885bcde3e979bfe8830.zip
opensim-SC_OLD-b32dcc6913a1b82064af3885bcde3e979bfe8830.tar.gz
opensim-SC_OLD-b32dcc6913a1b82064af3885bcde3e979bfe8830.tar.bz2
opensim-SC_OLD-b32dcc6913a1b82064af3885bcde3e979bfe8830.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}