Mercurial > vim
diff src/libvterm/src/unicode.c @ 18802:3be01cf0a632 v8.1.2389
patch 8.1.2389: using old C style comments
Commit: https://github.com/vim/vim/commit/707d226ac58da752ecc6b7620055fb1df3957a27
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 4 22:16:54 2019 +0100
patch 8.1.2389: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Dec 2019 22:30:07 +0100 |
parents | 8b4f9be5db73 |
children | e02d45e302a2 |
line wrap: on
line diff
--- a/src/libvterm/src/unicode.c +++ b/src/libvterm/src/unicode.c @@ -452,7 +452,7 @@ static int mk_wcwidth(uint32_t ucs) } #endif -#if 0 /* unused */ +#if 0 // unused static int mk_wcswidth(const uint32_t *pwcs, size_t n) { int w, width = 0; @@ -479,8 +479,8 @@ static int mk_wcswidth(const uint32_t *p static int mk_wcwidth_cjk(uint32_t ucs) { #endif - /* sorted list of non-overlapping intervals of East Asian Ambiguous - * characters, generated by "uniset +WIDTH-A -cat=Me -cat=Mn -cat=Cf c" */ + // sorted list of non-overlapping intervals of East Asian Ambiguous + // characters, generated by "uniset +WIDTH-A -cat=Me -cat=Mn -cat=Cf c" static const struct interval ambiguous[] = { { 0x00A1, 0x00A1 }, { 0x00A4, 0x00A4 }, { 0x00A7, 0x00A8 }, { 0x00AA, 0x00AA }, { 0x00AE, 0x00AE }, { 0x00B0, 0x00B4 },