summaryrefslogtreecommitdiffstats
path: root/src/if_xcmdsrv.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-08-06 17:06:04 +0000
committerBram Moolenaar <Bram@vim.org>2008-08-06 17:06:04 +0000
commite37d50a5def1c0ff162392cd3f017059c458650c (patch)
treee7d1e2b17976b130d1283d33b091baf30cfc5d2c /src/if_xcmdsrv.c
parentda40c8536c2b7bdbd1d192ee1aa3045e2119675e (diff)
updated for version 7.2c-000v7.2c.000
Diffstat (limited to 'src/if_xcmdsrv.c')
-rw-r--r--src/if_xcmdsrv.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c
index 041ed5a461..024bac6b2a 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);
}