diff options
Diffstat (limited to 'OpenSim/Framework/SLUtil.cs')
-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 | } |