ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.xs
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.72 by root, Wed Jan 18 08:33:34 2006 UTC vs.
Revision 1.73 by root, Wed Jan 18 09:40:53 2006 UTC

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}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines