about summary refs log tree commit diff stats
path: root/src/HTML.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/HTML.c')
-rw-r--r--src/HTML.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/HTML.c b/src/HTML.c
index 74a990c5..dae978c3 100644
--- a/src/HTML.c
+++ b/src/HTML.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTML.c,v 1.154 2012/02/10 01:26:31 tom Exp $
+ * $LynxId: HTML.c,v 1.155 2012/02/10 18:36:39 tom Exp $
  *
  *		Structured stream to Rich hypertext converter
  *		============================================
@@ -140,7 +140,7 @@ static int HTML_end_element(HTStructured * me, int element_number,
 
 static int HTML_start_element(HTStructured * me, int element_number,
 			      const BOOL *present,
-			      const char **value,
+			      STRING2PTR value,
 			      int tag_charset,
 			      char **include);
 
@@ -150,9 +150,9 @@ static int HTML_start_element(HTStructured * me, int element_number,
 #define VERBOSE_IMG(value,src_type,string) \
       ((verbose_img) ? (newtitle = MakeNewTitle(value,src_type)): string)
 
-static char *MakeNewTitle(const char **value, int src_type);
-static char *MakeNewImageValue(const char **value);
-static char *MakeNewMapValue(const char **value, const char *mapstr);
+static char *MakeNewTitle(STRING2PTR value, int src_type);
+static char *MakeNewImageValue(STRING2PTR value);
+static char *MakeNewMapValue(STRING2PTR value, const char *mapstr);
 
 /*	Set an internal flag that the next call to a stack-affecting method
  *	is only internal and the stack manipulation should be skipped. - kw
@@ -797,7 +797,7 @@ static void HTMLSRC_apply_markup(HTStructured * context, HTlexeme lexeme, int st
 	    HTML_start_element(context,
 			       (int) ts->element,
 			       ts->present,
-			       (const char **) ts->value,
+			       (STRING2PTR) ts->value,
 			       tag_charset,
 			       NULL);
 	else
@@ -849,7 +849,7 @@ static void LYStartArea(HTStructured * obj, const char *href,
 }
 
 static void LYHandleFIG(HTStructured * me, const BOOL *present,
-			const char **value,
+			STRING2PTR value,
 			int isobject,
 			int imagemap,
 			const char *id,
@@ -957,7 +957,7 @@ static void clear_objectdata(HTStructured * me)
  */
 static int HTML_start_element(HTStructured * me, int element_number,
 			      const BOOL *present,
-			      const char **value,
+			      STRING2PTR value,
 			      int tag_charset,
 			      char **include)
 {
@@ -5080,7 +5080,7 @@ static int HTML_start_element(HTStructured * me, int element_number,
 	 * Start a new SELECT block. - FM
 	 */
 	LYHandleSELECT(me,
-		       present, (const char **) value,
+		       present, (STRING2PTR) value,
 		       include,
 		       TRUE);
 	break;
@@ -6068,7 +6068,7 @@ static int HTML_end_element(HTStructured * me, int element_number,
 
     case HTML_P:
 	LYHandlePlike(me,
-		      (const BOOL *) 0, (const char **) 0,
+		      (const BOOL *) 0, (STRING2PTR) 0,
 		      include, 0,
 		      FALSE);
 	break;
@@ -8243,7 +8243,7 @@ int HTLoadError(HTStream *sink GCC_UNUSED, int number,
     return -number;
 }
 
-static char *MakeNewTitle(const char **value, int src_type)
+static char *MakeNewTitle(STRING2PTR value, int src_type)
 {
     char *ptr;
     char *newtitle = NULL;
@@ -8285,7 +8285,7 @@ static char *MakeNewTitle(const char **value, int src_type)
     return newtitle;
 }
 
-static char *MakeNewImageValue(const char **value)
+static char *MakeNewImageValue(STRING2PTR value)
 {
     char *ptr;
     char *newtitle = NULL;
@@ -8303,7 +8303,7 @@ static char *MakeNewImageValue(const char **value)
     return newtitle;
 }
 
-static char *MakeNewMapValue(const char **value, const char *mapstr)
+static char *MakeNewMapValue(STRING2PTR value, const char *mapstr)
 {
     char *ptr;
     char *newtitle = NULL;