diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-12-27 21:59:20 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-12-27 21:59:20 +0000 |
commit | 86b68359978c933419279e599d0a8cf536095d77 (patch) | |
tree | 4291920506f596f1c934c9cf3af5641bdc63b900 /src/if_xcmdsrv.c | |
parent | b5bf5b8fae9ff5e2f7704686efae2814be1e18f7 (diff) | |
download | vim-git-86b68359978c933419279e599d0a8cf536095d77.tar.gz |
updated for version 7.0025v7.0025
Diffstat (limited to 'src/if_xcmdsrv.c')
-rw-r--r-- | src/if_xcmdsrv.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c index b24101f3f..4a091bd27 100644 --- a/src/if_xcmdsrv.c +++ b/src/if_xcmdsrv.c @@ -735,7 +735,6 @@ ServerReplyFind(w, op) ga_init2(&e.strings, 1, 100); memcpy(p, &e, sizeof(e)); serverReply.ga_len++; - serverReply.ga_room--; } } else if (p != NULL && op == SROP_Delete) @@ -743,7 +742,6 @@ ServerReplyFind(w, op) ga_clear(&p->strings); mch_memmove(p, p + 1, (serverReply.ga_len - i - 1) * sizeof(*p)); serverReply.ga_len--; - serverReply.ga_room++; } return p; @@ -844,7 +842,6 @@ serverReadReply(dpy, win, str, localLoop) { s = (char_u *) p->strings.ga_data; mch_memmove(s, s + len, p->strings.ga_len - len); - p->strings.ga_room += len; p->strings.ga_len -= len; } else @@ -1276,7 +1273,6 @@ serverEventProc(dpy, eventPtr) sprintf(reply.ga_data, "%cr%c-s %s%c-r ", 0, 0, serial, 0); #endif reply.ga_len = 10 + STRLEN(serial); - reply.ga_room -= reply.ga_len; } res = NULL; if (serverName != NULL && STRICMP(name, serverName) == 0) |