diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-18 19:49:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-18 19:49:56 +0100 |
commit | 8e7d6223f630690b72b387eaed704bf01f3f29d2 (patch) | |
tree | b2e694bda1dbae28776d68f9babbb42d27e5c730 /src/textprop.c | |
parent | 3beaf9cd8efa3ba83e07187215004d140b89d529 (diff) |
patch 8.2.2160: various typosv8.2.2160
Problem: Various typos.
Solution: Fix spelling mistakes. (closes #7494)
Diffstat (limited to 'src/textprop.c')
-rw-r--r-- | src/textprop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textprop.c b/src/textprop.c index bca0d9e021..5a18f6c734 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -302,7 +302,7 @@ prop_add_common( if (length < 0) length = 0; // zero-width property - // Allocate the new line with space for the new proprety. + // Allocate the new line with space for the new property. newtext = alloc(buf->b_ml.ml_line_len + sizeof(textprop_T)); if (newtext == NULL) return; @@ -1485,7 +1485,7 @@ prepend_joined_props( end = !(prop.tp_flags & TP_FLAG_CONT_NEXT); adjust_prop(&prop, 0, -removed, 0); // Remove leading spaces - adjust_prop(&prop, -1, col, 0); // Make line start at its final colum + adjust_prop(&prop, -1, col, 0); // Make line start at its final column if (add_all || end) mch_memmove(new_props + --(*props_remaining) * sizeof(prop), |