Mercurial > hg > xemacs-beta
diff src/input-method-xlib.c @ 267:966663fcf606 r20-5b32
Import from CVS: tag r20-5b32
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:26:29 +0200 |
parents | 2c611d1463a6 |
children | c5d627a313b1 |
line wrap: on
line diff
--- a/src/input-method-xlib.c Mon Aug 13 10:25:39 2007 +0200 +++ b/src/input-method-xlib.c Mon Aug 13 10:26:29 2007 +0200 @@ -538,7 +538,9 @@ if (p->count_styles == 0) { /* No valid styles? */ - char buf[1024]; + char *buf = (char *)alloca (strlen (fromVal->addr) + + strlen (DefaultXIMStyles) + + 100); XrmValue new_from; XtAppContext the_app_con = XtDisplayToApplicationContext (dpy); @@ -703,7 +705,7 @@ void describe_Window (Window win) { - char xwincmd[64]; + char xwincmd[128]; sprintf (xwincmd, "xwininfo -id 0x%x >&2; xwininfo -events -id 0x%x >&2", (int) win, (int) win); system (xwincmd);