Mercurial > vim
view src/proto/os_mac_conv.pro @ 2685:862d920800b1 v7.3.103
updated for version 7.3.103
Problem: Changing 'fileformat' and then using ":w" in an empty file sets
the 'modified' option.
Solution: In unchanged() don't ignore 'ff' for an empty file.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 22 Jan 2011 00:11:50 +0100 |
parents | b9740fb41986 |
children | 7fda54504fee |
line wrap: on
line source
/* os_mac_conv.c */ char_u *mac_string_convert __ARGS((char_u *ptr, int len, int *lenp, int fail_on_error, int from_enc, int to_enc, int *unconvlenp)); int macroman2enc __ARGS((char_u *ptr, long *sizep, long real_size)); int enc2macroman __ARGS((char_u *from, size_t fromlen, char_u *to, int *tolenp, int maxtolen, char_u *rest, int *restlenp)); void mac_conv_init __ARGS((void)); void mac_conv_cleanup __ARGS((void)); char_u *mac_utf16_to_enc __ARGS((unsigned short *from, size_t fromLen, size_t *actualLen)); unsigned short *mac_enc_to_utf16 __ARGS((char_u *from, size_t fromLen, size_t *actualLen)); void * mac_enc_to_cfstring __ARGS((char_u *from, size_t fromLen)); char_u *mac_precompose_path __ARGS((char_u *decompPath, size_t decompLen, size_t *precompLen)); void mac_lang_init __ARGS((void)); /* vim: set ft=c : */