selecting: let a justification cancel a softmark

Otherwise a second justification will cancel it, which is weird.
This commit is contained in:
Benno Schulenberg 2017-11-26 19:50:38 +01:00
parent 88a0bb9685
commit 2b314ed18f

View File

@ -2439,6 +2439,10 @@ void do_justify(bool full_justify)
if (first_par_line != NULL)
last_par_line = openfile->current;
/* Let a justification cancel a soft mark. */
if (openfile->mark && openfile->kind_of_mark == SOFTMARK)
openfile->mark = NULL;
edit_refresh();
/* Show "Unjustify" in the help lines. */