]> git.lyx.org Git - features.git/commit
Fixup 71d9f6e9: swap two tests to avoid line breaking issues
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 28 Feb 2024 10:27:52 +0000 (11:27 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 29 Feb 2024 09:46:26 +0000 (10:46 +0100)
commit677a2c2cd14d4e607648be41c9b90b42eda9a764
tree0b66d5ef2699d02b10acf1cadc95dba659725d3c
parent8f61b0859c9bcb8da71f43f94dcf62da41b84ea4
Fixup 71d9f6e9: swap two tests to avoid line breaking issues

The new approach to line breaking introduced in 71d9f6e9 is correct,
but the newly introduced min_row_wid should not be updated when the
remaining line width after a break is larger than next_width.

Swapping the two tests fixes remaining issues.

Fixes (for good?) #12899.
src/Row.cpp