summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/init.cpp
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2017-11-13 15:03:31 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2017-11-13 15:07:33 +0100
commita7c24ca48995cf2bf436156302f96b91bf135409 (patch)
tree953835509ff1b778833e78fd7b74b05e05e77c84 /plugins/Clist_nicer/src/init.cpp
parent591ec17b1c99db7f120c22ca9fb20ae05fe78325 (diff)
Code modernize ...
* replace 0/NULL with nullptr [using clang-tidy]
Diffstat (limited to 'plugins/Clist_nicer/src/init.cpp')
-rw-r--r--plugins/Clist_nicer/src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/init.cpp b/plugins/Clist_nicer/src/init.cpp
index 503d67591b..7bd7c4077b 100644
--- a/plugins/Clist_nicer/src/init.cpp
+++ b/plugins/Clist_nicer/src/init.cpp
@@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#pragma comment(lib, "shlwapi.lib")
-HINSTANCE g_hInst = 0;
+HINSTANCE g_hInst = nullptr;
CLIST_INTERFACE *pcli, coreCli;
int hLangpack;
@@ -115,7 +115,7 @@ static int systemModulesLoaded(WPARAM, LPARAM)
static int fnIconFromStatusMode(const char *szProto, int status, MCONTACT hContact)
{
- return IconFromStatusMode(szProto, status, hContact, NULL);
+ return IconFromStatusMode(szProto, status, hContact, nullptr);
}
extern "C" int __declspec(dllexport) CListInitialise()