build: fix compilation for --enable-tiny --enable-justify
parent
481529e865
commit
71628ad0b8
|
@ -1829,8 +1829,10 @@ void do_justify(bool full_justify)
|
|||
* last line of the file, so put the cursor at the end of it. */
|
||||
if (!find_paragraph(&openfile->current, &linecount)) {
|
||||
openfile->current_x = strlen(openfile->filebot->data);
|
||||
refresh_needed = TRUE;
|
||||
#ifndef NANO_TINY
|
||||
discard_until(openfile->undotop->next);
|
||||
#endif
|
||||
refresh_needed = TRUE;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue