summaryrefslogtreecommitdiffstats
path: root/src/textprop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c
index 6e3ed5f7be..580c3e7a97 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -664,6 +664,7 @@ f_prop_find(typval_T *argvars, typval_T *rettv)
sizeof(textprop_T));
if (lnum == lnum_start)
+ {
if (dir < 0)
{
if (col < prop.tp_col)
@@ -671,7 +672,7 @@ f_prop_find(typval_T *argvars, typval_T *rettv)
}
else if (prop.tp_col + prop.tp_len - (prop.tp_len != 0) < col)
continue;
-
+ }
if (prop.tp_id == id || prop.tp_type == type_id)
{
// Check if the starting position has text props.