Problem: Ex command ":s/ \?/ /g" splits multi-byte characters into bytes.
(Dominique Pelle)
Solution: Advance over whole character instead of one byte.
* for a match in this line again. */
skip_match = TRUE;
else
- ++matchcol; /* search for a match at next column */
+ {
+ /* search for a match at next column */
+#ifdef FEAT_MBYTE
+ if (has_mbyte)
+ matchcol += mb_ptr2len(sub_firstline + matchcol);
+ else
+#endif
+ ++matchcol;
+ }
goto skip;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 192,
/**/
191,
/**/