Commit 0eaf97e
prevent negative array-offset getting
The modulo operation can result in a negative number,
while the list of window handles is always a 0-based array1 parent e0aa26c commit 0eaf97e
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3553 | 3553 | | |
3554 | 3554 | | |
3555 | 3555 | | |
3556 | | - | |
3557 | | - | |
| 3556 | + | |
| 3557 | + | |
| 3558 | + | |
| 3559 | + | |
| 3560 | + | |
| 3561 | + | |
3558 | 3562 | | |
3559 | 3563 | | |
3560 | 3564 | | |
| |||
0 commit comments