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)

This commit is contained in:
Bram Moolenaar
2015-06-19 12:08:23 +02:00
committed by Douglas Drumond
parent d6b63e6b7a
commit 91a4f1a4f8
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -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]))
{
+2
View File
@@ -756,6 +756,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
739,
/**/
738,
/**/