Mercurial > vim
changeset 4080:9867f92c9b9f v7.3.794
updated for version 7.3.794
Problem: Tiny build fails. (Tony Mechelynck)
Solution: Adjust #ifdefs.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 30 Jan 2013 17:30:17 +0100 |
parents | 0b140173d14f |
children | 137abd418473 |
files | src/charset.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.c +++ b/src/charset.c @@ -939,19 +939,17 @@ vim_iswordp(p) return GET_CHARTAB(curbuf, *p) != 0; } -#if defined(FEAT_SYN_HL) || defined(PROTO) int vim_iswordp_buf(p, buf) char_u *p; buf_T *buf; { -# ifdef FEAT_MBYTE +#ifdef FEAT_MBYTE if (has_mbyte && MB_BYTE2LEN(*p) > 1) return mb_get_class(p) >= 2; -# endif +#endif return (GET_CHARTAB(buf, *p) != 0); } -#endif /* * return TRUE if 'c' is a valid file-name character