summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/init.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-04 22:22:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-04 22:22:27 +0300
commit25d3cbef4a3a8fa09151de730deb7fcda94ffe4d (patch)
treeabd142f1dfb237a2d660c3c8764b1422828c16b9 /plugins/Clist_modern/src/init.cpp
parentd4d99f08d3cb4dc3d8451c88fe366bfd699bb37a (diff)
Clist_Modern:
- useless error message removed; - code cleaning; - version bump;
Diffstat (limited to 'plugins/Clist_modern/src/init.cpp')
-rw-r--r--plugins/Clist_modern/src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/init.cpp b/plugins/Clist_modern/src/init.cpp
index b987deaac7..381136d9d7 100644
--- a/plugins/Clist_modern/src/init.cpp
+++ b/plugins/Clist_modern/src/init.cpp
@@ -33,7 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define CHECKRES(sub) if (sub != S_OK) return S_FALSE;
HINSTANCE g_hInst = 0, g_hMirApp = 0;
-CLIST_INTERFACE *pcli = NULL;
+CLIST_INTERFACE *pcli = nullptr;
CLIST_INTERFACE corecli = { 0 };
CLUIDATA g_CluiData = { 0 };
int hLangpack;
@@ -104,7 +104,7 @@ extern "C" __declspec(dllexport) int Unload(void)
if (IsWindow(pcli->hwndContactList))
DestroyWindow(pcli->hwndContactList);
- pcli->hwndContactList = NULL;
+ pcli->hwndContactList = nullptr;
ToolbarButtonUnloadModule();
BackgroundsUnloadModule();