From 1c0172cca4f1e90679321912e20436a7f42f122d Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Sat, 24 Feb 2018 15:32:06 +0100 Subject: more nullptr --- plugins/FavContacts/src/favlist.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/FavContacts/src/favlist.h') diff --git a/plugins/FavContacts/src/favlist.h b/plugins/FavContacts/src/favlist.h index c9ed5bc2c3..394c7fb747 100644 --- a/plugins/FavContacts/src/favlist.h +++ b/plugins/FavContacts/src/favlist.h @@ -20,7 +20,7 @@ public: name = mir_wstrdup(pcli->pfnGetContactDisplayName(hContact, 0)); if (g_Options.bUseGroups) { - if ((group = db_get_wsa(hContact, "CList", "Group")) == NULL) + if ((group = db_get_wsa(hContact, "CList", "Group")) == nullptr) group = mir_wstrdup(TranslateT("")); } else group = mir_wstrdup(TranslateT("Favorite Contacts")); @@ -72,7 +72,7 @@ private: int addContact(MCONTACT hContact, bool bManual) { DBCachedContact *cc = db->m_cache->GetCachedContact(hContact); - if (cc == NULL) + if (cc == nullptr) return 0; if (db_mc_isEnabled()) { @@ -107,7 +107,7 @@ public: void build() { - prevGroup = NULL; + prevGroup = nullptr; nGroups = 1; -- cgit v1.2.3