This commit is contained in:
Jan Edmund Lazo
2018-08-23 04:13:29 -04:00
parent 27fbffeb4f
commit 6c8851be4e
5 changed files with 40 additions and 36 deletions

View File

@@ -2460,9 +2460,10 @@ win_line (
ptr = line;
if (has_spell) {
/* For checking first word with a capital skip white space. */
if (cap_col == 0)
// For checking first word with a capital skip white space.
if (cap_col == 0) {
cap_col = (int)getwhitecols(line);
}
/* To be able to spell-check over line boundaries copy the end of the
* current line into nextline[]. Above the start of the next line was