xkb: add missing swaps for xkbGetDeviceInfoReply

Caught during review of e095369bf.

Signed-off-by: Peter Harris <pharris@opentext.com>
Reviewed-by-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
(cherry picked from commit c90903b4f7)

Conflicts:

	xkb/xkb.c

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit ec8ee3a9f7)
This commit is contained in:
Peter Harris 2011-09-02 18:45:16 -04:00 committed by Jeremy Huddleston
parent e4bf3807ae
commit 8011c9f160

View file

@ -6215,6 +6215,9 @@ char * str;
swaps(&rep.unsupported,n);
swaps(&rep.nDeviceLedFBs,n);
swapl(&rep.type,n);
swaps(&rep.dfltKbdFB, n);
swaps(&rep.dfltLedFB, n);
swapl(&rep.devType, n);
}
WriteToClient(client,SIZEOF(xkbGetDeviceInfoReply), (char *)&rep);