tweaks: make better use of an existing variable
parent
c8a9a96578
commit
738487f13d
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue