summaryrefslogtreecommitdiffstats
path: root/src/textprop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c4
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),