tweaks: reshuffle a few lines, for symmetry with the preceding function

master
Benno Schulenberg 2019-12-01 17:04:15 +01:00
parent fdf095c32f
commit e484918ef2
1 changed files with 6 additions and 6 deletions

View File

@ -3118,14 +3118,14 @@ size_t chunk_for(size_t column, linestruct *line)
* column is on. */ * column is on. */
size_t leftedge_for(size_t column, linestruct *line) size_t leftedge_for(size_t column, linestruct *line)
{ {
if (ISSET(SOFTWRAP)) {
size_t leftedge; size_t leftedge;
if (!ISSET(SOFTWRAP))
return 0;
get_chunk_and_edge(column, line, &leftedge); get_chunk_and_edge(column, line, &leftedge);
return leftedge; return leftedge;
} else
return 0;
} }
/* Return the row of the last softwrapped chunk of the given line, relative to /* Return the row of the last softwrapped chunk of the given line, relative to