diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-16 20:02:06 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-16 20:02:06 +0300 |
commit | 7c9e3d6cadb441aaa40c8539de41e302228196a9 (patch) | |
tree | 3ccb20d4353d5257d4cd3da6cb4cda81ec2e197e /scripts/stripdecls.py | |
parent | 97a1ccf8e7470d8c781c86253f8a7795fe50dc50 (diff) | |
download | rneovim-7c9e3d6cadb441aaa40c8539de41e302228196a9.tar.gz rneovim-7c9e3d6cadb441aaa40c8539de41e302228196a9.tar.bz2 rneovim-7c9e3d6cadb441aaa40c8539de41e302228196a9.zip |
eval: Refactor f_char2nr
With has_mbyte equal to 1 and &encoding always UTF-8 second argument is no
longer useful: utf_ptr2char is the same as mb_ptr2char.
Also changes function behaviour a bit: now if second argument is not a number it
immediately returns with error, without bothering to get a character.
Diffstat (limited to 'scripts/stripdecls.py')
0 files changed, 0 insertions, 0 deletions