From b773b4e8e0087993406d1d8c2df895db4d6301ff Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 6 Jul 2009 11:04:47 +1000 Subject: s/MAX_DEVICES/MAXDEVICES/ updates. The number of input devices is MAXDEVICES, not MAX_DEVICES (f781a752e6) Two comments updated to refer to MAXDEVICES. MAX_FUNCS in sigio.c was set to 16 if MAX_DEVICES was undefined. If more than 15 physical input devices were present, this could result in a failure to install the SIGIO handler for any device above 15. Signed-off-by: Peter Hutterer --- mi/midispcur.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mi') diff --git a/mi/midispcur.c b/mi/midispcur.c index 7b3ce292e..3fb7e02b5 100644 --- a/mi/midispcur.c +++ b/mi/midispcur.c @@ -51,7 +51,7 @@ in this Software without prior written authorization from The Open Group. # include "picturestr.h" #endif -# include "inputstr.h" /* for MAX_DEVICES */ +# include "inputstr.h" /* per-screen private data */ static int miDCScreenKeyIndex; -- cgit v1.2.3