mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed IdSpan.LookupContext
This commit is contained in:
parent
9b7fc5564e
commit
4d73c90dab
1 changed files with 3 additions and 3 deletions
|
@ -39,6 +39,9 @@ namespace Beefy.utils
|
||||||
charId = cmd;
|
charId = cmd;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (cmd == 0)
|
||||||
|
break;
|
||||||
|
|
||||||
int spanSize = -cmd;
|
int spanSize = -cmd;
|
||||||
|
|
||||||
Entry entry;
|
Entry entry;
|
||||||
|
@ -49,9 +52,6 @@ namespace Beefy.utils
|
||||||
|
|
||||||
charId += spanSize;
|
charId += spanSize;
|
||||||
charIdx += spanSize;
|
charIdx += spanSize;
|
||||||
|
|
||||||
if (cmd == 0)
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue