diff options
author | Bram Moolenaar <bram@vim.org> | 2011-09-02 14:18:20 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2011-09-02 14:18:20 +0200 |
commit | 82ccccf92606a4307a2f42a7c78881719df5e76e (patch) | |
tree | 2381feef413d87f017083c6a7e4bcedfef7cdb78 | |
parent | ed66acfa273cfb87f109c76cedd9b76493a57c40 (diff) | |
download | vim-82ccccf92606a4307a2f42a7c78881719df5e76e.tar.gz |
Problem: MSVC compiler has a problem with non-ASCII characters.
Solution: Avoid non-ASCII characters. (Hong Xu)
-rw-r--r-- | src/ascii.h | 2 | ||||
-rw-r--r-- | src/spell.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/ascii.h b/src/ascii.h index 5256fc32..e824822b 100644 --- a/src/ascii.h +++ b/src/ascii.h @@ -123,7 +123,7 @@ #define DCS 0x90 /* Device Control String */ #define STERM 0x9c /* String Terminator */ -#define POUND '£' +#define POUND '\xA3' #define CTRL_F_STR "\056" #define CTRL_H_STR "\026" diff --git a/src/spell.c b/src/spell.c index eade2f7c..464d4d0d 100644 --- a/src/spell.c +++ b/src/spell.c @@ -11197,7 +11197,7 @@ allcap_copy(word, wcopy) c = *s++; #ifdef FEAT_MBYTE - /* We only change ß to SS when we are certain latin1 is used. It + /* We only change 0xdf to SS when we are certain latin1 is used. It * would cause weird errors in other 8-bit encodings. */ if (enc_latin1like && c == 0xdf) { diff --git a/src/version.c b/src/version.c index e2e3085e..d66b4fba 100644 --- a/src/version.c +++ b/src/version.c @@ -710,6 +710,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 293, +/**/ 292, /**/ 291, |