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.249 by root, Sun May 9 17:11:10 2021 UTC vs.
Revision 1.251 by sf-exg, Wed Jul 14 12:39:57 2021 UTC

1567rxvt_term::view_start (int newval = 1) 1567rxvt_term::view_start (int newval = 1)
1568 PROTOTYPE: $;$ 1568 PROTOTYPE: $;$
1569 CODE: 1569 CODE:
1570{ 1570{
1571 RETVAL = THIS->view_start; 1571 RETVAL = THIS->view_start;
1572 1572 if (items > 1)
1573 if (newval <= 0)
1574 THIS->scr_changeview (max (newval, THIS->top_row)); 1573 THIS->scr_changeview (newval);
1575} 1574}
1576 OUTPUT: 1575 OUTPUT:
1577 RETVAL 1576 RETVAL
1578 1577
1579void 1578void
1789 // find length 1788 // find length
1790 for (wchar_t *s = wstr; *s; s++) 1789 for (wchar_t *s = wstr; *s; s++)
1791 if (*s == NOCHAR) 1790 if (*s == NOCHAR)
1792 ; 1791 ;
1793 else if (IS_COMPOSE (*s)) 1792 else if (IS_COMPOSE (*s))
1794 dlen += rxvt_composite.expand (*s, 0); 1793 dlen += rxvt_composite.expand (*s);
1795 else 1794 else
1796 dlen++; 1795 dlen++;
1797 1796
1798 wchar_t *rstr = rxvt_temp_buf<wchar_t> (dlen); 1797 wchar_t *rstr = rxvt_temp_buf<wchar_t> (dlen);
1799 1798

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines