From 21663ec58b1798731dff3d346a10daf935427666 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sun, 16 Feb 2020 10:13:02 -0500 Subject: Fix crash in new xref list. --- ui/xreflist.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/xreflist.h b/ui/xreflist.h index f3781add..6d14f908 100644 --- a/ui/xreflist.h +++ b/ui/xreflist.h @@ -66,6 +66,9 @@ public: (m_type == other.m_type))) return false; + if (!m_func ^ !other.m_func) + return false; + if (!m_func && !other.m_func) return true; -- cgit v1.3.1