diff options
author | Melanie | 2010-12-16 21:01:38 +0100 |
---|---|---|
committer | Melanie | 2010-12-17 22:50:00 +0000 |
commit | b32dcc6913a1b82064af3885bcde3e979bfe8830 (patch) | |
tree | a69ff9f166b69c5494848259a66697c36013aa4b | |
parent | remove now unused subversion serialization backup config (diff) | |
download | opensim-SC-b32dcc6913a1b82064af3885bcde3e979bfe8830.zip opensim-SC-b32dcc6913a1b82064af3885bcde3e979bfe8830.tar.gz opensim-SC-b32dcc6913a1b82064af3885bcde3e979bfe8830.tar.bz2 opensim-SC-b32dcc6913a1b82064af3885bcde3e979bfe8830.tar.xz |
Fix notecards that end with an embedded object causing an exception
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/SLUtil.cs | 4 |
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 | } |