Dominique wrote:
> 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.
Thanks. I wonder how you spotted this in such a long patch.
--
Back up my hard drive? I can't find the reverse switch!
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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.