Commit 511ff2f
fix mouse x,y coordinate truncation in 1006/1015 modes
In 1006 mode, x,y coordinates may be specified with integers larger
than can be stored in 8 bits. The cast to uint8_t prevented mouse
clicks at larger indices from being reported correctly.1 parent 8ee9dc1 commit 511ff2f
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3700 | 3700 | | |
3701 | 3701 | | |
3702 | 3702 | | |
3703 | | - | |
3704 | | - | |
3705 | | - | |
3706 | | - | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
3707 | 3707 | | |
3708 | 3708 | | |
3709 | 3709 | | |
| |||
3744 | 3744 | | |
3745 | 3745 | | |
3746 | 3746 | | |
3747 | | - | |
3748 | | - | |
| 3747 | + | |
| 3748 | + | |
3749 | 3749 | | |
3750 | 3750 | | |
3751 | 3751 | | |
| |||
0 commit comments