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

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.230 by root, Sun Jan 15 16:47:29 2006 UTC vs.
Revision 1.231 by root, Sun Jan 15 16:48:18 2006 UTC

1811 * the top of the screen 1811 * the top of the screen
1812 */ 1812 */
1813void 1813void
1814rxvt_term::scr_move_to (int y, int len) 1814rxvt_term::scr_move_to (int y, int len)
1815{ 1815{
1816 int p = len
1817 ? (top_row - nrow) * (len - y) / len + (nrow - 1) 1816 int p = (top_row - nrow) * (len - y) / len + (nrow - 1);
1818 : 0;
1819 1817
1820 scr_changeview (p); 1818 scr_changeview (p);
1821} 1819}
1822 1820
1823/* ------------------------------------------------------------------------- */ 1821/* ------------------------------------------------------------------------- */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines