diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/clcitems.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mir_app/src/clcitems.cpp b/src/mir_app/src/clcitems.cpp index 006b36d6ae..4dba92786a 100644 --- a/src/mir_app/src/clcitems.cpp +++ b/src/mir_app/src/clcitems.cpp @@ -25,6 +25,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h" #include "clc.h" +static ClcCacheEntry nullpce = {}; + // routines for managing adding/removal of items in the list, including sorting ClcContact* fnAddItemToGroup(ClcGroup *group, int iAboveItem) @@ -307,7 +309,7 @@ MIR_APP_DLL(void) Clist_DeleteItemFromTree(HWND hwnd, MCONTACT hItem) ClcContact *contact; if (Clist_FindItem(hwnd, dat, hItem, &contact, &group)) { Clist_RemoveItemFromGroup(hwnd, group, contact, 1); - contact->pce = nullptr; + contact->pce = &nullpce; return; } |