Update of bug #66723 (group groff): Summary: .hys request seems to no longer work => [troff] `hys` request seems to no longer work
_______________________________________________________ Follow-up Comment #2: I have a fix. diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp index e57f3aefa..0e83cf46a 100644 --- a/src/roff/troff/env.cpp +++ b/src/roff/troff/env.cpp @@ -2042,11 +2042,11 @@ breakpoint *environment::choose_breakpoint() // Don't choose the hyphenated breakpoint if the line // can be justified by adding no more than // hyphenation_space to any word space. - ? (bp->nspaces > 0 - && ((((target_text_length - bp->width) - + ((bp->nspaces - 1) * hresolution) - / bp->nspaces)) - <= hyphenation_space)) + ? ((bp->nspaces > 0) + && (((target_text_length - bp->width) + + ((bp->nspaces - 1) * hresolution)) + / bp->nspaces) + <= hyphenation_space) // Don't choose the hyphenated breakpoint if the line // is no more than hyphenation_margin short of the // line length. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66723> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature