mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Skip empty strings in ParseString* functions
This commit is contained in:
committed by
Jonathan Freedman
parent
9038218c2d
commit
6049e548a5
@@ -8404,6 +8404,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
for (j = 0; j < seplen; j++)
|
||||
{
|
||||
if (separray[j].ToString() == String.Empty)
|
||||
active[j] = false;
|
||||
|
||||
if (active[j])
|
||||
{
|
||||
// scan all of the markers
|
||||
@@ -8432,6 +8435,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
{
|
||||
for (j = seplen; (j < mlen) && (offset[best] > beginning); j++)
|
||||
{
|
||||
if (spcarray[j].ToString() == String.Empty)
|
||||
active[j] = false;
|
||||
|
||||
if (active[j])
|
||||
{
|
||||
// scan all of the markers
|
||||
|
||||
Reference in New Issue
Block a user