about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTMLGen.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2018-03-05 00:03:30 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-03-05 00:03:30 +0000
commit2c91be6158b3242e323e3c52fd585d0658cbf4be (patch)
tree326b5c24fc7e4947e59508abfa9bfdcdb44d17cd /WWW/Library/Implementation/HTMLGen.c
parentf9d18278c5e94ae35d232412351f23de45d5c9c4 (diff)
downloadlynx-snapshots-2c91be6158b3242e323e3c52fd585d0658cbf4be.tar.gz
snapshot of project "lynx", label v2-8-9dev_16n
Diffstat (limited to 'WWW/Library/Implementation/HTMLGen.c')
-rw-r--r--WWW/Library/Implementation/HTMLGen.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/WWW/Library/Implementation/HTMLGen.c b/WWW/Library/Implementation/HTMLGen.c
index 361ad69d..e57de9db 100644
--- a/WWW/Library/Implementation/HTMLGen.c
+++ b/WWW/Library/Implementation/HTMLGen.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTMLGen.c,v 1.41 2016/11/24 15:29:50 tom Exp $
+ * $LynxId: HTMLGen.c,v 1.42 2018/03/04 20:04:55 tom Exp $
  *
  *		HTML Generator
  *		==============
@@ -338,7 +338,7 @@ static int HTMLGen_start_element(HTStructured * me, int element_number,
 	}
 	class_string[0] = '\0';
 	strtolower(myHash);
-	hcode = hash_code(myHash);
+	hcode = hash_code_1(myHash);
 	strtolower(Style_className);
 
 	if (TRACE_STYLE) {
@@ -351,7 +351,7 @@ static int HTMLGen_start_element(HTStructured * me, int element_number,
 		    int hcd;
 
 		    *rp = '\0';	/* trim the class */
-		    hcd = hash_code(myHash);
+		    hcd = hash_code_1(myHash);
 		    fprintf(tfp, "CSS:%s -> %d", myHash, hcd);
 		    if (hashStyles[hcd].code != hcd)
 			fprintf(tfp, " (undefined) %s\n", myHash);
@@ -409,7 +409,7 @@ static int HTMLGen_start_element(HTStructured * me, int element_number,
 				(tfp, "CSSTRIM:link=%s\n", title_tmp));
 
 			do_cstyle_flush(me);
-			HText_characterStyle(me->text, hash_code(title_tmp), 1);
+			HText_characterStyle(me->text, hash_code_1(title_tmp), 1);
 		    }
 		}
 #endif
@@ -450,7 +450,7 @@ static int HTMLGen_start_element(HTStructured * me, int element_number,
 	     */
 	    if (title && *title) {
 		do_cstyle_flush(me);
-		HText_characterStyle(me->text, hash_code(title_tmp), 0);
+		HText_characterStyle(me->text, hash_code_1(title_tmp), 0);
 		FREE(title_tmp);
 	    }
 	    FREE(title);