gecko-dev/accessible
Trevor Saunders c5cac1582b bug 1204171 - make mai_util_add_key_event_listener return the correct listener id r=davidb
The listener id is postincremented as a subexpression of being inserted into
the hash table.  That means the key inserted into the table is 1 less than the
value returned from the function.  Which means that later attempts to remove
the returned id will fail because that hash table knows about a different id.
2016-09-26 10:17:59 -04:00
..