updated for version 7.0013
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c
index a82139e..fb5999a 100644
--- a/src/if_xcmdsrv.c
+++ b/src/if_xcmdsrv.c
@@ -683,6 +683,7 @@
}
if (regProp != empty_prop)
XFree(regProp);
+ ga_append(&ga, NUL);
return ga.ga_data;
}
@@ -1258,7 +1259,7 @@
ga_append(&reply, 0);
ga_concat(&reply, (char_u *)"-c 1");
}
- ga_append(&reply, 0);
+ ga_append(&reply, NUL);
(void)AppendPropCarefully(dpy, resWindow, commProperty,
reply.ga_data, reply.ga_len);
}
@@ -1363,7 +1364,7 @@
if ((r = ServerReplyFind(win, SROP_Add)) != NULL)
{
ga_concat(&(r->strings), str);
- ga_append(&(r->strings), 0);
+ ga_append(&(r->strings), NUL);
}
#ifdef FEAT_AUTOCMD
sprintf((char *)winstr, "0x%x", (unsigned int)win);