From e344bead3ecc16a0982d157e8c19050f6dff4e0c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 1 Sep 2005 20:46:49 +0000 Subject: updated for version 7.0140 --- src/if_xcmdsrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/if_xcmdsrv.c') diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c index 63faf0c18..d19f50dd8 100644 --- a/src/if_xcmdsrv.c +++ b/src/if_xcmdsrv.c @@ -1273,7 +1273,7 @@ serverEventProc(dpy, eventPtr) ga_grow(&reply, 50 + STRLEN(p_enc)); sprintf(reply.ga_data, "%cr%c-E %s%c-s %s%c-r ", 0, 0, p_enc, 0, serial, 0); - reply.ga_len = 14 + STRLEN(serial); + reply.ga_len = 14 + STRLEN(p_enc) + STRLEN(serial); #else ga_grow(&reply, 50); sprintf(reply.ga_data, "%cr%c-s %s%c-r ", 0, 0, serial, 0); -- cgit v1.2.3