forked from aniani/vim
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:
parent
d710e0d247
commit
acc39888cd
@ -5745,8 +5745,10 @@ get_string_tv(arg, rettv, evaluate)
|
|||||||
|
|
||||||
if (c == 'X')
|
if (c == 'X')
|
||||||
n = 2;
|
n = 2;
|
||||||
else
|
else if (*p == 'u')
|
||||||
n = 4;
|
n = 4;
|
||||||
|
else
|
||||||
|
n = 8;
|
||||||
nr = 0;
|
nr = 0;
|
||||||
while (--n >= 0 && vim_isxdigit(p[1]))
|
while (--n >= 0 && vim_isxdigit(p[1]))
|
||||||
{
|
{
|
||||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
739,
|
||||||
/**/
|
/**/
|
||||||
738,
|
738,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user