gbranden pushed a commit to branch master
in repository groff.
commit 52a9b3b688c122d762ff104ed766c7f139cf8925
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Nov 2 01:03:00 2026 -0600
[troff]: pev reports align/adjust more helpfully.
* src/roff/troff/env.cpp (environment::dump): Aid the user to
distinguish the concepts of alignment and adjustment.
---
ChangeLog | 5 +++++
src/roff/troff/env.cpp | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5bbdaa6ed..385bf4a5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-11-02 G. Branden Robinson <[email protected]>
+
+ * src/roff/troff/env.cpp (environment::dump): Aid the user to
+ distinguish the concepts of alignment and adjustment.
+
2026-11-02 G. Branden Robinson <[email protected]>
* src/roff/troff/env.cpp (environment::dump): Align wording of
diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index 67efc34a0..94d106b5b 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -3663,12 +3663,12 @@ void environment::dump()
errprint(" filling: %1\n", is_filling ? "on" : "off");
errprint(" alignment/adjustment: %1\n",
adjust_mode == ADJUST_LEFT
- ? "left"
+ ? "left/off"
: adjust_mode == ADJUST_BOTH
- ? "both"
+ ? "both/on"
: adjust_mode == ADJUST_CENTER
- ? "center"
- : "right");
+ ? "center/off"
+ : "right/off");
if (centered_line_count > 0)
errprint(" lines remaining to center: %1\n", centered_line_count);
if (right_aligned_line_count > 0)
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit