gbranden pushed a commit to branch master
in repository groff.

commit 6a936fb6180ccf2c93749582f427777560568844
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue May 13 11:41:02 2025 -0500

    src/roff/troff/node.cpp: Fix code style nit.
    
    * src/roff/troff/node.cpp (make_glyph_node): Assign Boolean, not
      integer, literal, to variable of type `bool`.
---
 ChangeLog               | 5 +++++
 src/roff/troff/node.cpp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index c9ba9fc2a..fc0227db2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-05-13  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/node.cpp (make_glyph_node): Assign Boolean, not
+       integer, literal, to variable of type `bool`.
+
 2025-05-13  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/node.cpp (troff_output_file::fill_color)
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index 7adc856b1..fa0727390 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -5437,7 +5437,7 @@ static node *make_glyph_node(charinfo *s, environment 
*env,
        if (font_table[fn]
            && font_table[fn]->is_special()
            && font_table[fn]->contains(s)) {
-         found = 1;
+         found = true;
          break;
        }
     }

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to