gbranden pushed a commit to branch master
in repository groff.
commit 7d7a3e0f7ffaba1b601accf18bc94b163ba3e200
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 22 23:28:01 2026 -0600
[troff]: `pev` request accepts arguments (2/2).
* src/roff/troff/env.cpp (print_environment_request): Update
indentation.
Continues fixing <https://savannah.gnu.org/bugs/?68905>.
---
src/roff/troff/env.cpp | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index ab04e1310..0f9db67e0 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -3837,17 +3837,17 @@ static void print_environment_request() // .pev
} while(has_arg());
}
else {
- errprint("Current Environment:\n");
- curenv->dump();
- dictionary_iterator iter(env_dictionary);
- while (iter.get(&s, (void **)&e)) {
- assert(!s.is_null());
- errprint("Environment %1:\n", s.contents());
- if (e != curenv)
- e->dump();
- else
- errprint(" current\n");
- }
+ errprint("Current Environment:\n");
+ curenv->dump();
+ dictionary_iterator iter(env_dictionary);
+ while (iter.get(&s, (void **)&e)) {
+ assert(!s.is_null());
+ errprint("Environment %1:\n", s.contents());
+ if (e != curenv)
+ e->dump();
+ else
+ errprint(" current\n");
+ }
}
fflush(stderr);
skip_line();
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit