Mercurial > vim
comparison src/fileio.c @ 501:ce2181d14aa0 v7.0139
updated for version 7.0139
author | vimboss |
---|---|
date | Tue, 30 Aug 2005 21:55:26 +0000 |
parents | 4772a5e3f9fa |
children | da9142bd190a |
comparison
equal
deleted
inserted
replaced
500:4772a5e3f9fa | 501:ce2181d14aa0 |
---|---|
1513 else | 1513 else |
1514 # endif | 1514 # endif |
1515 # ifdef MACOS_X | 1515 # ifdef MACOS_X |
1516 if (fio_flags & FIO_MACROMAN) | 1516 if (fio_flags & FIO_MACROMAN) |
1517 { | 1517 { |
1518 extern int macroman2enc __ARGS((char_u *ptr, long *sizep, long | |
1519 real_size)); | |
1520 /* | 1518 /* |
1521 * Conversion from Apple MacRoman char encoding to UTF-8 or | 1519 * Conversion from Apple MacRoman char encoding to UTF-8 or |
1522 * latin1. This is in os_mac_conv.c. | 1520 * latin1. This is in os_mac_conv.c. |
1523 */ | 1521 */ |
1524 if (macroman2enc(ptr, &size, real_size) == FAIL) | 1522 if (macroman2enc(ptr, &size, real_size) == FAIL) |
4813 /* | 4811 /* |
4814 * Convert UTF-8 or latin1 to Apple MacRoman. | 4812 * Convert UTF-8 or latin1 to Apple MacRoman. |
4815 */ | 4813 */ |
4816 char_u *from; | 4814 char_u *from; |
4817 size_t fromlen; | 4815 size_t fromlen; |
4818 extern int enc2macroman __ARGS((char_u *from, size_t fromlen, | |
4819 char_u *to, int *tolenp, int maxtolen, char_u *rest, | |
4820 int *restlenp)); | |
4821 | 4816 |
4822 if (ip->bw_restlen > 0) | 4817 if (ip->bw_restlen > 0) |
4823 { | 4818 { |
4824 /* Need to concatenate the remainder of the previous call and | 4819 /* Need to concatenate the remainder of the previous call and |
4825 * the bytes of the current call. Use the end of the | 4820 * the bytes of the current call. Use the end of the |