From 125aba11ec484309e4dc5b2abf1b15ac98784159 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 13 Apr 2011 06:36:43 +0000 Subject: xkeyboard-config libxcb libX11 git update 13 April 2011 --- libX11/modules/im/ximcp/imRmAttr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libX11/modules') 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 */ /* -- cgit v1.2.3