tweaks: make better use of an intermediate variable

master
Benno Schulenberg 2018-05-27 16:41:55 +02:00
parent 36c83d92dd
commit 1881db099d
1 changed files with 2 additions and 3 deletions

View File

@ -2291,10 +2291,9 @@ void do_justify(bool full_justify)
while (par_len > 1) {
filestruct *next_line = openfile->current->next;
size_t line_len = strlen(openfile->current->data);
size_t next_line_len = strlen(openfile->current->next->data);
size_t next_line_len = strlen(next_line->data);
indent_len = quote_len +
indent_length(openfile->current->next->data + quote_len);
indent_len = quote_len + indent_length(next_line->data + quote_len);
next_line_len -= indent_len;
openfile->totsize -= indent_len;