about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--CHANGES6
-rw-r--r--src/GridText.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index 6a343449..392067ba 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,8 +1,12 @@
--- $LynxId: CHANGES,v 1.472 2010/04/25 22:41:14 tom Exp $
+-- $LynxId: CHANGES,v 1.473 2010/04/26 10:45:06 tom Exp $
 ===============================================================================
 Changes since Lynx 2.8 release
 ===============================================================================
 
+2010-04-26 (2.8.8dev.4)
+* further improvements to print_wwwfile_to_fd() -TD
+  + corrected length used for radio/checkboxes.
+
 2010-04-25 (2.8.8dev.3)
 * modify print_wwwfile_to_fd() to add field values to the printed form (Debian
   #574940) -TD
diff --git a/src/GridText.c b/src/GridText.c
index 9ec1c6bd..a1967888 100644
--- a/src/GridText.c
+++ b/src/GridText.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: GridText.c,v 1.178 2010/04/25 20:22:51 tom Exp $
+ * $LynxId: GridText.c,v 1.179 2010/04/26 10:44:14 tom Exp $
  *
  *		Character grid hypertext object
  *		===============================
@@ -7945,7 +7945,7 @@ static AnchorIndex **allocAnchorIndex(unsigned *size)
 			p->filler = ' ';
 			break;
 		    }
-		    p->length = strlen(input->value);
+		    p->length = strlen(p->value);
 
 		    if ((q = result[anchor->line_num]) != NULL) {
 			/* insert, ordering by offset */