forked from extern/Unexpected-Keyboard
Fix crash since 2ea256e
This commit is contained in:
parent
a0d90496c1
commit
f4978f5266
@ -53,7 +53,7 @@ public final class Pointers implements Handler.Callback
|
||||
public int getKeyFlags(KeyValue kv)
|
||||
{
|
||||
for (Pointer p : _ptrs)
|
||||
if (p.value.name == kv.name) // Physical equality
|
||||
if (p.value != null && p.value.name == kv.name) // Physical equality
|
||||
return p.flags;
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user