| 397 | } |
| 398 | |
| 399 | void assert_valid_cursor_pos() |
| 400 | { |
| 401 | GotoRegion region(get_cursor_region()); |
| 402 | coord_def pos(cgetpos(region)); |
| 403 | ASSERTM(valid_cursor_pos(pos.x, pos.y, region), |
| 404 | "invalid cursor position %d,%d in region %d, should be %d,%d in region %d", |
| 405 | pos.x, pos.y, region, cgetpos(_find_correct_region()).x, |
| 406 | cgetpos(_find_correct_region()).y, _find_correct_region()); |
| 407 | } |
| 408 | |
| 409 | static GotoRegion _current_region = GOTO_CRT; |
| 410 |
no test coverage detected