tweaks: make better use of an existing variable

master
Benno Schulenberg 2018-05-28 10:39:47 +02:00
parent c8a9a96578
commit 738487f13d
1 changed files with 3 additions and 3 deletions

View File

@ -1035,9 +1035,9 @@ void do_enter(void)
#ifdef ENABLE_JUSTIFY #ifdef ENABLE_JUSTIFY
/* If the next line is in this same paragraph, use its indentation /* If the next line is in this same paragraph, use its indentation
* as the model, as it is more likely to be what the user wants. */ * as the model, as it is more likely to be what the user wants. */
if (openfile->current->next && inpar(openfile->current->next) && if (sampleline->next && inpar(sampleline->next) &&
!begpar(openfile->current->next, 0)) !begpar(sampleline->next, 0))
sampleline = openfile->current->next; sampleline = sampleline->next;
#endif #endif
extra = indent_length(sampleline->data); extra = indent_length(sampleline->data);