summaryrefslogtreecommitdiff
path: root/src/fold.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fold.c')
-rw-r--r--src/fold.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fold.c b/src/fold.c
index bb268fb25..b1c7031f5 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -2070,12 +2070,7 @@ foldtext_cleanup(str)
}
else
{
-#ifdef FEAT_MBYTE
- if (has_mbyte)
- s += (*mb_ptr2len_check)(s);
- else
-#endif
- ++s;
+ mb_ptr_adv(s);
}
}
}