| 377 | } |
| 378 | |
| 379 | bool valid_cursor_pos(int x, int y, GotoRegion region) |
| 380 | { |
| 381 | const coord_def sz = cgetsize(region); |
| 382 | return x >= 1 && y >= 1 && x <= sz.x && y <= sz.y; |
| 383 | } |
| 384 | |
| 385 | static GotoRegion _find_correct_region() |
| 386 | { |
no test coverage detected