mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 12:30:32 +00:00
- fix a typo
This commit is contained in:
parent
3f952e94cd
commit
3504f48bfa
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ void JitCompiler::ThrowArrayOutOfBounds(VMScriptFunction *func, VMOP *line, int
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (index > size)
|
if (index >= size)
|
||||||
{
|
{
|
||||||
ThrowAbortException(X_ARRAY_OUT_OF_BOUNDS, "Max.index = %u, current index = %u\n", size, index);
|
ThrowAbortException(X_ARRAY_OUT_OF_BOUNDS, "Max.index = %u, current index = %u\n", size, index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue