Update of bug #64300 (group groff):
Status: Confirmed => In Progress
Assigned to: None => gbranden
_______________________________________________________
Follow-up Comment #9:
In progress on my private branch.
Proposed:
diff --git a/src/roff/troff/div.cpp b/src/roff/troff/div.cpp
index cdd6c8916..ebc7361ae 100644
--- a/src/roff/troff/div.cpp
+++ b/src/roff/troff/div.cpp
@@ -859,8 +859,13 @@ sprung, then we don't actually do the space. */
static void space_request()
{
postpone_traps();
- if (was_invoked_with_regular_control_character)
- curenv->do_break();
+ if (!was_invoked_with_regular_control_character) {
+ error("cannot vertically space with the no-break control character"
+ " when not on a page");
+ skip_line();
+ return;
+ }
+ curenv->do_break();
vunits n;
if (!has_arg() || !read_vunits(&n, 'v'))
n = curenv->get_vertical_spacing();
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64300>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/