Bram Moolenaar  wrote:

> Patch 8.1.0805
> Problem:    Too many #ifdefs.
> Solution:   Graduate FEAT_MBYTE, part 1.
> Files:      src/buffer.c, src/charset.c, src/diff.c, src/digraph.c,
>             src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
>             src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c,
>             src/fold.c, src/gui.c, src/gui_mac.c, src/gui_photon.c,
>             src/gui_w32.c
...snip...
> --- 1249,1257 ----
> ***************
> *** 1329,1342 ****
>  #endif
>         )
>      {
>- #ifndef FEAT_MBYTE
>        head = 0;
>- #endif
>        for (;;)
>        {
>- #ifdef FEAT_MBYTE
>            head = 0;
>- #endif
>            c = *ptr;
>            /* make sure we don't go past the end of the line */
>            if (c == NUL)

Something is wrong in this diff chunk: the line "head = 0" between
#indef FEAT_MBYTE and #endif should have been removed in
charset.c.

Attached patch fixes it.

Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/charset.c b/src/charset.c
index 70e3bc2dc..c1ca3f97c 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1266,7 +1266,6 @@ getvcol(
 #endif
        )
     {
-	head = 0;
 	for (;;)
 	{
 	    head = 0;

Raspunde prin e-mail lui