diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-10 13:11:16 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-10 13:11:16 +0300 |
commit | 30aa26c864fa09b974e3c223ccf907421ebc0759 (patch) | |
tree | 242d5635daec062b22a166c1047810ae4b54a8bc /plugins/Clist_modern | |
parent | da8d306b9d6fbe48f04f56d78be2058873f03dbc (diff) |
obsolete compatibility code removed from AVS
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_cachefuncs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_cachefuncs.cpp b/plugins/Clist_modern/src/modern_cachefuncs.cpp index 2cf812b360..060e141c5c 100644 --- a/plugins/Clist_modern/src/modern_cachefuncs.cpp +++ b/plugins/Clist_modern/src/modern_cachefuncs.cpp @@ -719,7 +719,7 @@ void Cache_GetAvatar(ClcData *dat, ClcContact *contact) if (dat->avatars_show && !db_get_b(contact->hContact, "CList", "HideContactAvatar", 0)) { contact->avatar_data = (AVATARCACHEENTRY*)CallService(MS_AV_GETAVATARBITMAP, contact->hContact, 0); - if (contact->avatar_data == nullptr || contact->avatar_data->cbSize != sizeof(AVATARCACHEENTRY) || contact->avatar_data->dwFlags == AVS_BITMAP_EXPIRED) + if (contact->avatar_data == nullptr || contact->avatar_data->dwFlags == AVS_BITMAP_EXPIRED) contact->avatar_data = nullptr; if (contact->avatar_data != nullptr) |