Bug 16551 - unbalanced paren in expansion of XkbGetIndicatorMapChanges
Summary: unbalanced paren in expansion of XkbGetIndicatorMapChanges
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (show other bugs)
Version: unspecified
Hardware: Other All
: lowest trivial
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-28 02:19 UTC by Antal K
Modified: 2008-06-28 03:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Antal K 2008-06-28 02:19:02 UTC
In the expansion of the preprocessor macro XkbGetIndicatorMapChanges
in  XKBlib.h, at line 533 the opening prenthesis is not closed.

------ context -------- (... for omissions)

/* $Xorg: XKBlib.h,v 1.6 2000/08/17 19:45:03 cpqbld Exp $ */
/************************************************************
Copyright (c) 1993 by Silicon Graphics Computer Systems, Inc.
...

********************************************************/
/* $XFree86: xc/lib/X11/XKBlib.h,v 3.5 2003/04/17 02:06:31 dawes Exp $ */

#ifndef _XKBLIB_H_
#define _XKBLIB_H_

...


#define	XkbNoteIndicatorStateChanges(o,n,w)\
				((o)->state_changes|=((n)->state_changes&(w)))
#define	XkbGetIndicatorMapChanges(d,x,c) \
				(XkbGetIndicatorMap((d),(c)->map_changes,x)
#define	XkbChangeIndicatorMaps(d,x,c) \
				(XkbSetIndicatorMap((d),(c)->map_changes,x))

...


#endif /* _XKBLIB_H_ */
Comment 1 Peter Hutterer 2008-06-28 03:46:43 UTC
Pushed as 596e081b7457dcd1c4ad555ac140e6999239bc0d. Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.