eval: encode: Fix NULL check for partial's name

This commit is contained in:
James McCoy 2016-12-23 22:35:18 -05:00
parent 33319b1bf0
commit a083c85ae4
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

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; \