diff options
Diffstat (limited to 'nx-X11/lib/X11/XKBCompat.c')
-rw-r--r-- | nx-X11/lib/X11/XKBCompat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/XKBCompat.c b/nx-X11/lib/X11/XKBCompat.c index d5658ce09..a5222b56e 100644 --- a/nx-X11/lib/X11/XKBCompat.c +++ b/nx-X11/lib/X11/XKBCompat.c @@ -195,9 +195,8 @@ _XkbWriteSetCompatMap(Display *dpy, xkbSetCompatMapReq *req, XkbDescPtr xkb) buf += nSI * SIZEOF(xkbSymInterpretWireDesc); } if (groups & XkbAllGroupsMask) { - xkbModsWireDesc *out; + xkbModsWireDesc *out = (xkbModsWireDesc *) buf; - out = (xkbModsWireDesc *) buf; for (i = 0, bit = 1; i < XkbNumKbdGroups; i++, bit <<= 1) { if ((groups & bit) != 0) { out->mask = xkb->compat->groups[i].mask; |