updated for version 7.3.779
Problem: Backwards search lands in wrong place when started on a multibyte
character.
Solution: Do not set extra_col for a backwards search. (Sung Pae)
diff --git a/src/search.c b/src/search.c
index 0b1c519..24b0c4a 100644
--- a/src/search.c
+++ b/src/search.c
@@ -572,7 +572,8 @@
extra_col = 0;
#ifdef FEAT_MBYTE
/* Watch out for the "col" being MAXCOL - 2, used in a closed fold. */
- else if (has_mbyte && pos->lnum >= 1 && pos->lnum <= buf->b_ml.ml_line_count
+ else if (dir != BACKWARD && has_mbyte
+ && pos->lnum >= 1 && pos->lnum <= buf->b_ml.ml_line_count
&& pos->col < MAXCOL - 2)
{
ptr = ml_get_buf(buf, pos->lnum, FALSE) + pos->col;