[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] [PATCH] Fix crash on <TAB INDENT=1 TO>
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] [PATCH] Fix crash on <TAB INDENT=1 TO> |
Date: |
Mon, 28 Nov 2005 15:28:17 -0500 (EST) |
On Mon, 28 Nov 2005, Alexey Dobriyan wrote:
Steps to reproduce:
echo '<TAB INDENT=1 TO>' >tab_indent_to.html
lynx tab_indent_to.html
Patch is in OpenBSD CVS already.
thanks (I saw it last week).
===================================================================
RCS file: /usr/OpenBSD/cvs/src/gnu/usr.bin/lynx/src/HTML.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- src/gnu/usr.bin/lynx/src/HTML.c 2004/10/21 17:04:47 1.5
+++ src/gnu/usr.bin/lynx/src/HTML.c 2005/11/27 21:45:19 1.6
@@ -2104,7 +2104,8 @@
int enval = 2;
column = HText_getCurrentColumn(me->text);
- if (present[HTML_TAB_TO]) {
+ if (present[HTML_TAB_TO] &&
+ value[HTML_TAB_TO] && *value[HTML_TAB_TO]) {
/*
* TO has priority over INDENT if both are present. - FM
*/
_______________________________________________
Lynx-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lynx-dev
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net