Fix crash since 2ea256e

This commit is contained in:
Jules Aguillon 2022-03-13 00:45:16 +01:00
parent a0d90496c1
commit f4978f5266

View File

@ -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;
}