Mercurial > vim
comparison src/libvterm/src/utf8.h @ 17777:811a12a78164 v8.1.1885
patch 8.1.1885: comments in libvterm are inconsistent
commit https://github.com/vim/vim/commit/db1085a5630ffdaa2e9f342c06cc739ebdf1a99a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 18 20:41:38 2019 +0200
patch 8.1.1885: comments in libvterm are inconsistent
Problem: Comments in libvterm are inconsistent.
Solution: Use // comments. Als update the table of combining characters.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 18 Aug 2019 20:45:04 +0200 |
parents | 2449b6ce1456 |
children | a4652d7ec99f |
comparison
equal
deleted
inserted
replaced
17776:5c9a1d9d02ad | 17777:811a12a78164 |
---|---|
14 if(codepoint < 0x4000000) return 5; | 14 if(codepoint < 0x4000000) return 5; |
15 return 6; | 15 return 6; |
16 } | 16 } |
17 #endif | 17 #endif |
18 | 18 |
19 /* Does NOT NUL-terminate the buffer */ | 19 // Does NOT NUL-terminate the buffer |
20 int fill_utf8(long codepoint, char *str); | 20 int fill_utf8(long codepoint, char *str); |
21 | 21 |
22 #if defined(DEFINE_INLINES) || USE_INLINE | 22 #if defined(DEFINE_INLINES) || USE_INLINE |
23 INLINE int fill_utf8(long codepoint, char *str) | 23 INLINE int fill_utf8(long codepoint, char *str) |
24 { | 24 { |
42 } | 42 } |
43 | 43 |
44 return nbytes; | 44 return nbytes; |
45 } | 45 } |
46 #endif | 46 #endif |
47 /* end copy */ | 47 // end copy |