From 2c91be6158b3242e323e3c52fd585d0658cbf4be Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Mon, 5 Mar 2018 00:03:30 +0000 Subject: snapshot of project "lynx", label v2-8-9dev_16n --- WWW/Library/Implementation/HTMLGen.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'WWW/Library/Implementation/HTMLGen.c') 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); -- cgit 1.4.1-2-gfad0