From acc39888cddbc8082fb3b89c1a46646bdca55e42 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 19 Jun 2015 12:08:13 +0200 Subject: [PATCH] patch 7.4.739 Problem: In a string "\U" only takes 4 digits, while after CTRL-V U eight digits can be used. Solution: Make "\U" also take eight digits. (Christian Brabandt) --- src/eval.c | 4 +++- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/eval.c b/src/eval.c index a173cc73a..6f8aa3c8e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -5745,8 +5745,10 @@ get_string_tv(arg, rettv, evaluate) if (c == 'X') n = 2; - else + else if (*p == 'u') n = 4; + else + n = 8; nr = 0; while (--n >= 0 && vim_isxdigit(p[1])) { diff --git a/src/version.c b/src/version.c index 23a1b1367..03352a7aa 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 739, /**/ 738, /**/ -- 2.40.0