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' */
|
||||
c = utf_ptr2char(res);
|
||||
#else
|
||||
c = (int)*(p);
|
||||
c = *res;
|
||||
#endif
|
||||
|
||||
switch (c)
|
||||
@@ -142,7 +142,7 @@ write_string(garray_T *gap, char_u *str)
|
||||
#ifdef FEAT_MBYTE
|
||||
res += utf_ptr2len(res);
|
||||
#else
|
||||
++p;
|
||||
++res;
|
||||
#endif
|
||||
}
|
||||
ga_append(gap, '"');
|
||||
|
@@ -743,6 +743,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1444,
|
||||
/**/
|
||||
1443,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user