tweaks: reshuffle a few lines, for symmetry with the preceding function
parent
fdf095c32f
commit
e484918ef2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue