texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Patrice Dumas
Date: Fri, 4 Oct 2024 06:13:51 -0400 (EDT)

branch: master
commit 9ab2b272569d5ce971ae69abae711e75a78e781d
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Aug 11 14:57:23 2024 +0200

    * tp/Texinfo/XS/teximakehtml.c (main): do not add errors_nr to the
    previous value.
---
 ChangeLog                    | 5 +++++
 tp/Texinfo/XS/teximakehtml.c | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ea65a8c625..e144865170 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-11  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/teximakehtml.c (main): do not add errors_nr to the
+       previous value.
+
 2024-08-11  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/Makefile.am (libtexinfo_la_SOURCES),
diff --git a/tp/Texinfo/XS/teximakehtml.c b/tp/Texinfo/XS/teximakehtml.c
index 8d4d270b16..0d49a01ab7 100644
--- a/tp/Texinfo/XS/teximakehtml.c
+++ b/tp/Texinfo/XS/teximakehtml.c
@@ -41,7 +41,7 @@
 
 #define LOCALEDIR DATADIR "/locale"
 
-/* this function is quite generic, it could be added to utils.c */
+/* this function is generic, it could be added to customization_options.c */
 static void
 add_button_option (OPTIONS_LIST *options_list, OPTION **sorted_options,
                    const char *option_name,
@@ -59,7 +59,7 @@ add_button_option (OPTIONS_LIST *options_list, OPTION 
**sorted_options,
   options_list_add_option (options_list, option);
 }
 
-/* this function is quite generic, it could be added to utils.c */
+/* this function or a variation could be added to customization_options.c */
 static OPTION *
 add_new_option_strlist_value (OPTIONS_LIST *options_list,
                   enum global_option_type type, const char *name,
@@ -180,7 +180,7 @@ main (int argc, char *argv[])
                      | STTF_setup_index_entries_sort_strings, 0);
 
   errors_nr
-    += txi_handle_document_error_messages (document, 0, 1, locale_encoding);
+    = txi_handle_document_error_messages (document, 0, 1, locale_encoding);
   errors_count += errors_nr;
 
   /* create converter and generic converter initializations */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]