Skip empty strings in ParseString* functions
parent
f8a47801ee
commit
1f7577b735
|
@ -8404,6 +8404,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
|
|
||||||
for (j = 0; j < seplen; j++)
|
for (j = 0; j < seplen; j++)
|
||||||
{
|
{
|
||||||
|
if (separray[j].ToString() == String.Empty)
|
||||||
|
active[j] = false;
|
||||||
|
|
||||||
if (active[j])
|
if (active[j])
|
||||||
{
|
{
|
||||||
// scan all of the markers
|
// scan all of the markers
|
||||||
|
@ -8432,6 +8435,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
{
|
{
|
||||||
for (j = seplen; (j < mlen) && (offset[best] > beginning); j++)
|
for (j = seplen; (j < mlen) && (offset[best] > beginning); j++)
|
||||||
{
|
{
|
||||||
|
if (spcarray[j].ToString() == String.Empty)
|
||||||
|
active[j] = false;
|
||||||
|
|
||||||
if (active[j])
|
if (active[j])
|
||||||
{
|
{
|
||||||
// scan all of the markers
|
// scan all of the markers
|
||||||
|
|
Loading…
Reference in New Issue