gbranden pushed a commit to branch master
in repository groff.
commit f480a529e76ebe65f2aa86853fa91edd9b29b8e6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Mar 25 22:24:17 2026 -0500
src/devices/grops/ps.cpp (is_ascii): Boolify.
---
ChangeLog | 4 ++++
src/devices/grops/ps.cpp | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 069c6fd25..57acd41f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2026-03-25 G. Branden Robinson <[email protected]>
+
+ * src/devices/grops/ps.cpp (is_ascii): Boolify.
+
2026-03-25 G. Branden Robinson <[email protected]>
* src/devices/grops/ps.cpp (radians): Fix code style nit.
diff --git a/src/devices/grops/ps.cpp b/src/devices/grops/ps.cpp
index f6dcaff61..70a53ceee 100644
--- a/src/devices/grops/ps.cpp
+++ b/src/devices/grops/ps.cpp
@@ -101,7 +101,7 @@ static double radians(double d)
// PostScript file using \nnn, so we really want the character to be
// less than 0200.
-static inline int is_ascii(char c)
+static inline bool is_ascii(char c)
{
return (unsigned char)c < 0200;
}
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit