diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-08-06 17:06:04 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-08-06 17:06:04 +0000 |
commit | e37d50a5def1c0ff162392cd3f017059c458650c (patch) | |
tree | e7d1e2b17976b130d1283d33b091baf30cfc5d2c /src/if_xcmdsrv.c | |
parent | da40c8536c2b7bdbd1d192ee1aa3045e2119675e (diff) | |
download | vim-git-e37d50a5def1c0ff162392cd3f017059c458650c.tar.gz |
updated for version 7.2c-000v7.2c.000
Diffstat (limited to 'src/if_xcmdsrv.c')
-rw-r--r-- | src/if_xcmdsrv.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c index 041ed5a46..024bac6b2 100644 --- a/src/if_xcmdsrv.c +++ b/src/if_xcmdsrv.c @@ -1390,7 +1390,6 @@ serverEventProc(dpy, eventPtr) unsigned int u; int gotWindow; char_u *str; - char_u winstr[30]; struct ServerReply *r; char_u *enc; @@ -1436,8 +1435,12 @@ serverEventProc(dpy, eventPtr) ga_append(&(r->strings), NUL); } #ifdef FEAT_AUTOCMD - sprintf((char *)winstr, "0x%x", (unsigned int)win); - apply_autocmds(EVENT_REMOTEREPLY, winstr, str, TRUE, curbuf); + { + char_u winstr[30]; + + sprintf((char *)winstr, "0x%x", (unsigned int)win); + apply_autocmds(EVENT_REMOTEREPLY, winstr, str, TRUE, curbuf); + } #endif vim_free(tofree); } |