From cb4d31922f0690f5a3c79526245c963bfd118864 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 May 2018 21:56:03 +0300 Subject: Icon_Register(g_plugin.getInst() => g_plugin.registerIcon Icon_RegisterT(g_plugin.getInst() => g_plugin.registerIconW --- plugins/Ping/src/ping.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Ping/src') diff --git a/plugins/Ping/src/ping.cpp b/plugins/Ping/src/ping.cpp index 687068024b..8e2a1be6b2 100644 --- a/plugins/Ping/src/ping.cpp +++ b/plugins/Ping/src/ping.cpp @@ -143,7 +143,7 @@ extern "C" __declspec(dllexport) int Load(void) HookEvent(ME_SYSTEM_PRESHUTDOWN, OnShutdown); HookEvent(ME_SKIN2_ICONSCHANGED, ReloadIcons); - Icon_Register(g_plugin.getInst(), LPGEN("Ping"), iconList, _countof(iconList)); + g_plugin.registerIcon(LPGEN("Ping"), iconList); return 0; } -- cgit v1.2.3