Mercurial > vim
comparison src/mbyte.c @ 1030:d4bc24e6a281 v7.0.156
updated for version 7.0-156
author | vimboss |
---|---|
date | Wed, 01 Nov 2006 17:12:57 +0000 |
parents | b2dcb8457067 |
children | 8647018a15f3 |
comparison
equal
deleted
inserted
replaced
1029:82b2594be408 | 1030:d4bc24e6a281 |
---|---|
665 /* enc_dbcs is set by setting 'fileencoding'. It becomes a Windows | 665 /* enc_dbcs is set by setting 'fileencoding'. It becomes a Windows |
666 * CodePage identifier, which we can pass directly in to Windows | 666 * CodePage identifier, which we can pass directly in to Windows |
667 * API */ | 667 * API */ |
668 n = IsDBCSLeadByteEx(enc_dbcs, (BYTE)i) ? 2 : 1; | 668 n = IsDBCSLeadByteEx(enc_dbcs, (BYTE)i) ? 2 : 1; |
669 #else | 669 #else |
670 # ifdef MACOS | 670 # if defined(MACOS) || defined(__amigaos4__) |
671 /* | 671 /* |
672 * if mblen() is not available, character which MSB is turned on | 672 * if mblen() is not available, character which MSB is turned on |
673 * are treated as leading byte character. (note : This assumption | 673 * are treated as leading byte character. (note : This assumption |
674 * is not always true.) | 674 * is not always true.) |
675 */ | 675 */ |