summaryrefslogtreecommitdiff
path: root/include/m_clistint.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-22 17:57:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-22 17:57:41 +0300
commit78e7e8cb56e06584a9bfb95a984f9ebe19567d6d (patch)
treef12e96c39f107a86826ac003d99d6df8f4c14c0b /include/m_clistint.h
parent287e8443d9d118ac592ee1dae671b791686fd850 (diff)
fixes #2991 (Clist_modern: crash on moving group)
Diffstat (limited to 'include/m_clistint.h')
-rw-r--r--include/m_clistint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/m_clistint.h b/include/m_clistint.h
index 9bd291d839..d8a12dcc63 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -99,6 +99,8 @@ struct ClcFontInfo
struct ClcContactBase
{
+ __forceinline BYTE getType() const { return (this == nullptr) ? 0 : type; }
+
BYTE type;
BYTE flags;
union {