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.229 by root, Sun Jan 15 06:39:19 2006 UTC vs.
Revision 1.230 by root, Sun Jan 15 16:47:29 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
1816 int p = (top_row - nrow) * (len - y) / len + (nrow - 1); 1817 ? (top_row - nrow) * (len - y) / len + (nrow - 1)
1818 : 0;
1817 1819
1818 scr_changeview (p); 1820 scr_changeview (p);
1819} 1821}
1820 1822
1821/* ------------------------------------------------------------------------- */ 1823/* ------------------------------------------------------------------------- */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines