build: fix compilation with --enable-tiny --enable-justify

master
Benno Schulenberg 2018-01-08 19:08:17 +01:00
parent c6f367268b
commit ada78dc89d
1 changed files with 2 additions and 0 deletions

View File

@ -2422,9 +2422,11 @@ void do_justify(bool full_justify)
if (first_par_line != NULL)
last_par_line = openfile->current;
#ifndef NANO_TINY
/* Let a justification cancel a soft mark. */
if (openfile->mark && openfile->kind_of_mark == SOFTMARK)
openfile->mark = NULL;
#endif
edit_refresh();