Commit ea85bc95 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winex11.drv: Assertion was 1 off (Coverity).

parent bb8466eb
......@@ -190,7 +190,7 @@ static inline void free_event_data( XEvent *event )
*/
void X11DRV_register_event_handler( int type, x11drv_event_handler handler, const char *name )
{
assert( type <= MAX_EVENT_HANDLERS );
assert( type < MAX_EVENT_HANDLERS );
assert( !handlers[type] || handlers[type] == handler );
handlers[type] = handler;
event_names[type] = name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment