0
0
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:
Bram Moolenaar
2016-02-27 22:59:41 +01:00
parent dae8d21dd2
commit 0f526f5652
2 changed files with 4 additions and 2 deletions

View File

@@ -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, '"');

View File

@@ -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,
/**/ /**/