diff options
Diffstat (limited to 'src/mbyte.c')
-rw-r--r-- | src/mbyte.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbyte.c b/src/mbyte.c index 57aa619990..5e6aed02bb 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -1579,7 +1579,7 @@ utf_char2cells(int c) // values of them. // // Note that these symbols are of varying widths, as they are symbols - // representing differents things ranging from a simple gear icon to an + // representing different things ranging from a simple gear icon to an // airplane. Some of them are in fact wider than double-width, but Vim // doesn't support non-fixed-width font, and tagging them as // double-width is the best way to handle them. @@ -5647,7 +5647,7 @@ f_setcellwidths(typval_T *argvars, typval_T *rettv UNUSED) // Check that all entries are a list with three numbers, the range is // valid and the cell width is valid. item = 0; - for (li = l->lv_first; li != NULL; li = li->li_next) + FOR_ALL_LIST_ITEMS(l, li) { listitem_T *lili; varnumber_T n1; |