1
0
forked from aniani/vim

patch 8.2.3914: various spelling mistakes in comments

Problem:    Various spelling mistakes in comments.
Solution:   Fix the mistakes. (Dominique Pellé, closes #9416)
This commit is contained in:
Dominique Pelle
2021-12-27 17:21:41 +00:00
committed by Bram Moolenaar
parent 5da36052a4
commit af4a61a85d
58 changed files with 109 additions and 107 deletions

View File

@@ -567,7 +567,7 @@ clip_get_word_boundaries(Clipboard_T *cb, int row, int col)
return;
p = ScreenLines + LineOffset[row];
// Correct for starting in the right halve of a double-wide char
// Correct for starting in the right half of a double-wide char
if (enc_dbcs != 0)
col -= dbcs_screen_head_off(p, p + col);
else if (enc_utf8 && p[col] == 0)
@@ -1030,7 +1030,7 @@ clip_copy_modeless_selection(int both UNUSED)
if (row2 > clip_star.max_row)
row2 = clip_star.max_row;
#endif
// correct starting point for being on right halve of double-wide char
// correct starting point for being on right half of double-wide char
p = ScreenLines + LineOffset[row1];
if (enc_dbcs != 0)
col1 -= (*mb_head_off)(p, p + col1);
@@ -1140,7 +1140,7 @@ clip_copy_modeless_selection(int both UNUSED)
bufp);
}
}
// Skip right halve of double-wide character.
// Skip right half of double-wide character.
if (ScreenLines[off + i + 1] == 0)
++i;
}