Merge pull request #5818 from jamessan/typval-encode-partial

eval: encode: Fix NULL check for partial's name
This commit is contained in:
James McCoy
2016-12-24 13:26:10 -05:00
committed by GitHub

View File

@@ -319,7 +319,7 @@ int encode_read_from_list(ListReaderState *const state, char *const buf,
do { \
int i; \
ga_concat(gap, "function("); \
if (&pt->pt_name != NULL) { \
if (pt->pt_name != NULL) { \
size_t len; \
char_u *p; \
len = 3; \