Skip to content

Commit a4b0dfe

Browse files
committed
Fix multiple conversions from the GUI (Issue #496)
1 parent 5dd2817 commit a4b0dfe

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Changes in HTMLDOC v1.9.17
22

3+
- Fixed multiple conversions of UTF-8 HTML files from the GUI (Issue #496)
34
- Fixed some minor CodeQL warnings.
45

56

doc/1-intro.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<head>
33
<meta name="author" content="Michael R Sweet">
44
<meta name="copyright" content="Copyright &copy; 1997-2022, All Rights Reserved.">
5-
<meta name="docversion" content="htmldoc-1.9.16">
5+
<meta name="docversion" content="htmldoc-1.9.17">
66
<meta name="keywords" content="Software">
77
<title>HTMLDOC Users Manual</title>
88
</head>

htmldoc/htmllib.cxx

+2
Original file line numberDiff line numberDiff line change
@@ -2510,6 +2510,8 @@ htmlSetCharSet(const char *cs) /* I - Character set file to load */
25102510
// bottom 128 characters matching US ASCII...
25112511
_htmlUTF8 = 0x80;
25122512

2513+
memset(_htmlCharacters, 0, sizeof(_htmlCharacters));
2514+
25132515
for (i = 0; i < 128; i ++)
25142516
{
25152517
/*

0 commit comments

Comments
 (0)