- SWAP_IT (screen.cur.row, swap.cur.row, int16_t);
- SWAP_IT (screen.cur.col, swap.cur.col, int16_t);
-# ifdef DEBUG_STRICT
- assert ((screen.cur.row >= 0) && (screen.cur.row < prev_nrow));
- assert ((screen.cur.col >= 0) && (screen.cur.col < prev_ncol));
-# else /* drive with your eyes closed */
- MAX_IT (screen.cur.row, 0);
- MIN_IT (screen.cur.row, (int32_t)prev_nrow - 1);
- MAX_IT (screen.cur.col, 0);
- MIN_IT (screen.cur.col, (int32_t)prev_ncol - 1);
-# endif