mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.1444
Problem: Can't build with JSON but without multi-byte. Solution: Fix pointer name.
This commit is contained in:
@@ -101,7 +101,7 @@ write_string(garray_T *gap, char_u *str)
|
|||||||
/* always use utf-8 encoding, ignore 'encoding' */
|
/* always use utf-8 encoding, ignore 'encoding' */
|
||||||
c = utf_ptr2char(res);
|
c = utf_ptr2char(res);
|
||||||
#else
|
#else
|
||||||
c = (int)*(p);
|
c = *res;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
switch (c)
|
switch (c)
|
||||||
@@ -142,7 +142,7 @@ write_string(garray_T *gap, char_u *str)
|
|||||||
#ifdef FEAT_MBYTE
|
#ifdef FEAT_MBYTE
|
||||||
res += utf_ptr2len(res);
|
res += utf_ptr2len(res);
|
||||||
#else
|
#else
|
||||||
++p;
|
++res;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
ga_append(gap, '"');
|
ga_append(gap, '"');
|
||||||
|
@@ -743,6 +743,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 */
|
||||||
|
/**/
|
||||||
|
1444,
|
||||||
/**/
|
/**/
|
||||||
1443,
|
1443,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user