From 25d3cbef4a3a8fa09151de730deb7fcda94ffe4d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 Sep 2017 22:22:27 +0300 Subject: Clist_Modern: - useless error message removed; - code cleaning; - version bump; --- plugins/Clist_modern/src/modern_clistmenus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_modern/src/modern_clistmenus.cpp') diff --git a/plugins/Clist_modern/src/modern_clistmenus.cpp b/plugins/Clist_modern/src/modern_clistmenus.cpp index 4c548dbe2d..4148a30712 100644 --- a/plugins/Clist_modern/src/modern_clistmenus.cpp +++ b/plugins/Clist_modern/src/modern_clistmenus.cpp @@ -69,7 +69,7 @@ static wchar_t *rates[] = { LPGENW("High") }; -static HGENMENU hFavoriteContactMenu = NULL, hShowIfOflineItem = NULL; +static HGENMENU hFavoriteContactMenu = nullptr, hShowIfOflineItem = nullptr; static HGENMENU hFavoriteContactMenuItems[_countof(rates)]; static IconItem iconList[] = @@ -142,7 +142,7 @@ int LoadFavoriteContactMenu() Menu_ConfigureItem(hFavoriteContactMenuItems[i], MCI_OPT_EXECPARAM, i); } - mi.hIcolibItem = NULL; + mi.hIcolibItem = nullptr; mi.pszService = CLUI_FAVTOGGLESHOWOFFLINE; mi.position = -100000000; mi.name.w = LPGENW("Show even if offline"); @@ -153,6 +153,6 @@ int LoadFavoriteContactMenu() int UnloadFavoriteContactMenu() { - Menu_RemoveItem(hFavoriteContactMenu); hFavoriteContactMenu = NULL; + Menu_RemoveItem(hFavoriteContactMenu); hFavoriteContactMenu = nullptr; return 0; } -- cgit v1.2.3