Mercurial > vim
comparison src/if_xcmdsrv.c @ 21:db5102f7e29f
updated for version 7.0013
author | vimboss |
---|---|
date | Thu, 29 Jul 2004 08:43:53 +0000 |
parents | 3fc0f57ecb91 |
children | 726bdc53fa49 |
comparison
equal
deleted
inserted
replaced
20:4ac1dce8dd5e | 21:db5102f7e29f |
---|---|
681 p++; | 681 p++; |
682 } | 682 } |
683 } | 683 } |
684 if (regProp != empty_prop) | 684 if (regProp != empty_prop) |
685 XFree(regProp); | 685 XFree(regProp); |
686 ga_append(&ga, NUL); | |
686 return ga.ga_data; | 687 return ga.ga_data; |
687 } | 688 } |
688 | 689 |
689 /* ---------------------------------------------------------- | 690 /* ---------------------------------------------------------- |
690 * Reply stuff | 691 * Reply stuff |
1256 { | 1257 { |
1257 ga_concat(&reply, (char_u *)_(e_invexprmsg)); | 1258 ga_concat(&reply, (char_u *)_(e_invexprmsg)); |
1258 ga_append(&reply, 0); | 1259 ga_append(&reply, 0); |
1259 ga_concat(&reply, (char_u *)"-c 1"); | 1260 ga_concat(&reply, (char_u *)"-c 1"); |
1260 } | 1261 } |
1261 ga_append(&reply, 0); | 1262 ga_append(&reply, NUL); |
1262 (void)AppendPropCarefully(dpy, resWindow, commProperty, | 1263 (void)AppendPropCarefully(dpy, resWindow, commProperty, |
1263 reply.ga_data, reply.ga_len); | 1264 reply.ga_data, reply.ga_len); |
1264 } | 1265 } |
1265 vim_free(res); | 1266 vim_free(res); |
1266 } | 1267 } |
1361 if (!gotWindow) | 1362 if (!gotWindow) |
1362 continue; | 1363 continue; |
1363 if ((r = ServerReplyFind(win, SROP_Add)) != NULL) | 1364 if ((r = ServerReplyFind(win, SROP_Add)) != NULL) |
1364 { | 1365 { |
1365 ga_concat(&(r->strings), str); | 1366 ga_concat(&(r->strings), str); |
1366 ga_append(&(r->strings), 0); | 1367 ga_append(&(r->strings), NUL); |
1367 } | 1368 } |
1368 #ifdef FEAT_AUTOCMD | 1369 #ifdef FEAT_AUTOCMD |
1369 sprintf((char *)winstr, "0x%x", (unsigned int)win); | 1370 sprintf((char *)winstr, "0x%x", (unsigned int)win); |
1370 apply_autocmds(EVENT_REMOTEREPLY, winstr, str, TRUE, curbuf); | 1371 apply_autocmds(EVENT_REMOTEREPLY, winstr, str, TRUE, curbuf); |
1371 #endif | 1372 #endif |