forked from enlightenment/efl
evas key modifier state set - remove dead code
m is checked for NULL twice. this removes the pointless second check. @fix
This commit is contained in:
parent
55ad786873
commit
4e282c79bd
|
@ -66,7 +66,6 @@ evas_seat_key_modifier_is_set(const Evas_Modifier *m, const char *keyname,
|
|||
if (!seat)
|
||||
seat = m->e->default_seat;
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(seat, 0);
|
||||
if (!m) return 0;
|
||||
if (!keyname) return 0;
|
||||
return _key_is_set(evas_key_modifier_number(m, keyname), m->masks, seat);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue