diff options
| author | George Hazan <ghazan@miranda.im> | 2019-02-27 16:10:41 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2019-02-27 16:10:41 +0300 |
| commit | daa30830aa1633a950deda06133d7a7d43d1cda8 (patch) | |
| tree | bdd0d21d6b761ea2083b77599d2984960cbd6758 /src | |
| parent | cf5d89144da7ceed41fe9a45ed61c872452639a4 (diff) | |
fixes #1868 (Miranda NG crashes when trying to access message log)
Diffstat (limited to 'src')
| -rw-r--r-- | src/mir_app/src/clcitems.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_app/src/clcitems.cpp b/src/mir_app/src/clcitems.cpp index a50bc7170e..72df88ccc5 100644 --- a/src/mir_app/src/clcitems.cpp +++ b/src/mir_app/src/clcitems.cpp @@ -308,6 +308,7 @@ MIR_APP_DLL(void) Clist_DeleteItemFromTree(HWND hwnd, MCONTACT hItem) if (Clist_FindItem(hwnd, dat, hItem, &contact, &group)) { Clist_RemoveItemFromGroup(hwnd, group, contact, 1); contact->pce = nullptr; + return; } // if we don't have this contact, simply try to update the number of contacts in a group |
