From d63aff0a65b955447de2fd8bfdaee29b61ce2843 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 21 Mar 2016 22:15:30 +0100 Subject: [PATCH] patch 7.4.1630 Problem: Unicode table for double width is outdated. Solution: Update to the latest Unicode standard. --- src/mbyte.c | 6 ++++++ src/version.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/mbyte.c b/src/mbyte.c index 01b13c8613..811f80d9e2 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -1252,6 +1252,11 @@ utf_char2cells(int c) {0xfe68, 0xfe6b}, {0xff01, 0xff60}, {0xffe0, 0xffe6}, + {0x1b000, 0x1b001}, + {0x1f200, 0x1f202}, + {0x1f210, 0x1f23a}, + {0x1f240, 0x1f248}, + {0x1f250, 0x1f251}, {0x20000, 0x2fffd}, {0x30000, 0x3fffd} }; @@ -3351,6 +3356,7 @@ static convertStruct toUpper[] = {0x10cc0,0x10cf2,1,-64}, {0x118c0,0x118df,1,-32} }; + /* * Return the upper-case equivalent of "a", which is a UCS-4 character. Use * simple case folding. diff --git a/src/version.c b/src/version.c index c5504176ac..808cee79ea 100644 --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1630, /**/ 1629, /**/