about summary refs log tree commit diff stats
path: root/src/LYCharUtils.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2005-01-02 23:49:58 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2005-01-02 23:49:58 -0500
commit1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f (patch)
treea83fd699321c8545516d56abcda6c9718fd1f4fb /src/LYCharUtils.c
parentbed9a2c79bfdde6e4ec89d9d02a5d6e88ae12f79 (diff)
downloadlynx-snapshots-1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f.tar.gz
snapshot of project "lynx", label v2-8-6dev_10
Diffstat (limited to 'src/LYCharUtils.c')
-rw-r--r--src/LYCharUtils.c33
1 files changed, 18 insertions, 15 deletions
diff --git a/src/LYCharUtils.c b/src/LYCharUtils.c
index 30581988..e3c42602 100644
--- a/src/LYCharUtils.c
+++ b/src/LYCharUtils.c
@@ -2550,11 +2550,12 @@ void LYHandleMETA(HTStructured * me, const BOOL *present,
 		me->inA = FALSE;
 		me->CurrentANum = 0;
 	    }
-	    me->CurrentA = HTAnchor_findChildAndLink(
-							me->node_anchor,	/* Parent */
-							id_string,	/* Tag */
-							href,	/* Addresss */
-							(void *) 0);	/* Type */
+	    me->CurrentA = HTAnchor_findChildAndLink
+		(
+		    me->node_anchor,	/* Parent */
+		    id_string,	/* Tag */
+		    href,	/* Addresss */
+		    (HTLinkType *) 0);	/* Type */
 	    if (id_string)
 		*cp = '#';
 	    FREE(id_string);
@@ -3203,11 +3204,12 @@ void LYCheckForID(HTStructured * me, const BOOL *present,
 	 * Create the link if we still have a non-zero-length string.  - FM
 	 */
 	if ((temp[0] != '\0') &&
-	    (ID_A = HTAnchor_findChildAndLink(
-						 me->node_anchor,	/* Parent */
-						 temp,	/* Tag */
-						 NULL,	/* Addresss */
-						 (void *) 0))) {	/* Type */
+	    (ID_A = HTAnchor_findChildAndLink
+	     (
+		 me->node_anchor,	/* Parent */
+		 temp,		/* Tag */
+		 NULL,		/* Addresss */
+		 (HTLinkType *) 0))) {	/* Type */
 	    HText_beginAnchor(me->text, me->inUnderline, ID_A);
 	    HText_endAnchor(me->text, 0);
 	}
@@ -3231,11 +3233,12 @@ void LYHandleID(HTStructured * me, const char *id)
     /*
      * Create the link if we still have a non-zero-length string.  - FM
      */
-    if ((ID_A = HTAnchor_findChildAndLink(
-					     me->node_anchor,	/* Parent */
-					     id,	/* Tag */
-					     NULL,	/* Addresss */
-					     (void *) 0)) != NULL) {	/* Type */
+    if ((ID_A = HTAnchor_findChildAndLink
+	 (
+	     me->node_anchor,	/* Parent */
+	     id,		/* Tag */
+	     NULL,		/* Addresss */
+	     (HTLinkType *) 0)) != NULL) {	/* Type */
 	HText_beginAnchor(me->text, me->inUnderline, ID_A);
 	HText_endAnchor(me->text, 0);
     }