diff options
author | ru <ru@FreeBSD.org> | 2004-04-01 14:52:50 +0800 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-04-01 14:52:50 +0800 |
commit | 688342ac959b6ec573ff1de88c0dfef2c6f82b8c (patch) | |
tree | b95286ff7bc070815066e50cbda4e65e284db4ce /www | |
parent | 0f5a01d2e6762329553e194f54be33433341a1be (diff) | |
download | freebsd-ports-gnome-688342ac959b6ec573ff1de88c0dfef2c6f82b8c.tar.gz freebsd-ports-gnome-688342ac959b6ec573ff1de88c0dfef2c6f82b8c.tar.zst freebsd-ports-gnome-688342ac959b6ec573ff1de88c0dfef2c6f82b8c.zip |
Fixed a nasty bug that distorts the output on terminals that
do not have the "eat_newline_glitch (xn)" glitch, e.g., the
cons25 family of terminals. Based on patch provided by Petr
Baudis.
Approved by: Jason Harris (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/elinks/Makefile | 1 | ||||
-rw-r--r-- | www/elinks/files/patch-src::terminal::screen.c | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/www/elinks/Makefile b/www/elinks/Makefile index db0ee357b1e1..17928131762a 100644 --- a/www/elinks/Makefile +++ b/www/elinks/Makefile @@ -7,6 +7,7 @@ PORTNAME= elinks PORTVERSION= 0.9.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://elinks.or.cz/download/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc diff --git a/www/elinks/files/patch-src::terminal::screen.c b/www/elinks/files/patch-src::terminal::screen.c new file mode 100644 index 000000000000..ac6dd12b37fc --- /dev/null +++ b/www/elinks/files/patch-src::terminal::screen.c @@ -0,0 +1,12 @@ +--- src/terminal/screen.c Sun Jan 4 02:07:50 2004 ++++ src/terminal/screen.c Fri Feb 20 11:43:54 2004 +@@ -575,6 +575,9 @@ add_char256(struct string *screen, struc + register int x = 0; \ + \ + for (; x < (term_)->width; x++, current++, pos++) { \ ++ if (y == (term_)->height - 1 && \ ++ x == (term_)->width - 1) \ ++ break; \ + if (compare_bg_color(pos->color, current->color)) { \ + /* No update for exact match. */ \ + if (compare_fg_color(pos->color, current->color)\ |