summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/crypt_icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/crypt_icons.cpp')
-rw-r--r--plugins/SecureIM/src/crypt_icons.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SecureIM/src/crypt_icons.cpp b/plugins/SecureIM/src/crypt_icons.cpp
index 3d7a74ac46..d0ad9953a5 100644
--- a/plugins/SecureIM/src/crypt_icons.cpp
+++ b/plugins/SecureIM/src/crypt_icons.cpp
@@ -38,7 +38,7 @@ static ICON_CACHE& getCacheItem(int mode, int type)
ICON_CACHE *p = new ICON_CACHE;
p->icon = icon;
p->mode = (type << 8) | mode;
- p->hCLIcon = NULL;
+ p->hCLIcon = nullptr;
arIcoList.insert(p);
return *p;
@@ -55,7 +55,7 @@ HANDLE mode2clicon(int mode, int type)
return INVALID_HANDLE_VALUE;
ICON_CACHE &p = getCacheItem(mode, type);
- if (p.hCLIcon == NULL)
+ if (p.hCLIcon == nullptr)
p.hCLIcon = ExtraIcon_AddIcon(p.icon);
return p.hCLIcon;
@@ -107,7 +107,7 @@ void ShowStatusIconNotify(MCONTACT hContact)
void RefreshContactListIcons(void)
{
for (int i = 0; i < arIcoList.getCount(); i++)
- arIcoList[i].hCLIcon = 0;
+ arIcoList[i].hCLIcon = nullptr;
for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact))
if (isSecureProtocol(hContact))