cosmetics

master
UbitUmarov 2020-02-07 22:44:14 +00:00
parent 43fea6530f
commit 169f161576
1 changed files with 6 additions and 5 deletions

View File

@ -738,23 +738,24 @@ namespace OpenSim.Framework
if (s.Length < 36) if (s.Length < 36)
return ids; return ids;
int end = s.Length - 35; int endA = s.Length - 35;
int endB = s.Length - 26;
int idbase; int idbase;
int next; int next;
int retry; int retry;
while (indx < end) while (indx < endA)
{ {
for (; indx < end; ++indx) for (; indx < endA; ++indx)
{ {
if (IsHexa(s[indx])) if (IsHexa(s[indx]))
break; break;
} }
if (indx == end) if (indx == endA)
break; break;
idbase = indx; idbase = indx;
for (; indx < s.Length - 26; ++indx) for (; indx < endB; ++indx)
{ {
if (!IsHexa(s[indx])) if (!IsHexa(s[indx]))
break; break;