aboutsummaryrefslogtreecommitdiff
path: root/libX11/modules/im/ximcp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-04-13 06:36:43 +0000
committermarha <marha@users.sourceforge.net>2011-04-13 06:36:43 +0000
commit125aba11ec484309e4dc5b2abf1b15ac98784159 (patch)
treee74bec46d529ddc000a06bc9b01554bc1ff9c54b /libX11/modules/im/ximcp
parent7730393619080086530e24d3b594351b4114f608 (diff)
downloadvcxsrv-125aba11ec484309e4dc5b2abf1b15ac98784159.tar.gz
vcxsrv-125aba11ec484309e4dc5b2abf1b15ac98784159.tar.bz2
vcxsrv-125aba11ec484309e4dc5b2abf1b15ac98784159.zip
xkeyboard-config libxcb libX11 git update 13 April 2011
Diffstat (limited to 'libX11/modules/im/ximcp')
-rw-r--r--libX11/modules/im/ximcp/imRmAttr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/modules/im/ximcp/imRmAttr.c b/libX11/modules/im/ximcp/imRmAttr.c
index 5035df514..7503905b2 100644
--- a/libX11/modules/im/ximcp/imRmAttr.c
+++ b/libX11/modules/im/ximcp/imRmAttr.c
@@ -1384,7 +1384,7 @@ _XimCountNumberOfAttr(
{
unsigned int n;
INT16 len;
- INT16 min_len = sizeof(CARD16) /* sizeof attrinute ID */
+ INT16 min_len = sizeof(CARD16) /* sizeof attribute ID */
+ sizeof(CARD16) /* sizeof type of value */
+ sizeof(INT16); /* sizeof length of attribute */
@@ -1417,7 +1417,7 @@ _XimGetAttributeID(
int values_len;
register int i;
INT16 len;
- INT16 min_len = sizeof(CARD16) /* sizeof attrinute ID */
+ INT16 min_len = sizeof(CARD16) /* sizeof attribute ID */
+ sizeof(CARD16) /* sizeof type of value */
+ sizeof(INT16); /* sizeof length of attr */
/*