Typo correction, 'i' is not a '1', so no longer crash on some Xi requests.
This commit is contained in:
		
							parent
							
								
									8d709f0280
								
							
						
					
					
						commit
						0a3740a000
					
				| 
						 | 
				
			
			@ -178,7 +178,7 @@ ProcXSelectExtensionEvent(register ClientPtr client)
 | 
			
		|||
	return Success;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (HandleDevicePresenceMask(client, pWin, (XEventClass *) & stuff[i],
 | 
			
		||||
    if (HandleDevicePresenceMask(client, pWin, (XEventClass *) & stuff[1],
 | 
			
		||||
                                &stuff->count) != Success) {
 | 
			
		||||
       SendErrorToClient(client, IReqCode, X_SelectExtensionEvent, 0,
 | 
			
		||||
                         BadAlloc);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue