… | |
… | |
1512 | PUSHs (sv_2mortal (newSViv (rc.col))); |
1512 | PUSHs (sv_2mortal (newSViv (rc.col))); |
1513 | } |
1513 | } |
1514 | |
1514 | |
1515 | if (items == 3) |
1515 | if (items == 3) |
1516 | { |
1516 | { |
|
|
1517 | rc.row = SvIV (ST (1)); |
|
|
1518 | rc.col = SvIV (ST (2)); |
|
|
1519 | |
|
|
1520 | if (ix == 2 && rc.col == 0) |
|
|
1521 | { |
|
|
1522 | rc.row--; |
|
|
1523 | rc.col = THIS->ncol; |
|
|
1524 | } |
|
|
1525 | |
|
|
1526 | clamp_it (rc.col, 0, THIS->ncol); |
1517 | rc.row = clamp (SvIV (ST (1)), THIS->top_row, THIS->nrow - 1); |
1527 | clamp_it (rc.row, THIS->top_row, THIS->nrow - 1); |
1518 | rc.col = clamp (SvIV (ST (2)), 0, THIS->ncol - 1); |
|
|
1519 | |
1528 | |
1520 | if (ix) |
1529 | if (ix) |
1521 | THIS->want_refresh = 1; |
1530 | THIS->want_refresh = 1; |
1522 | } |
1531 | } |
1523 | } |
1532 | } |