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/PluginUpdater/src/Utils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/PluginUpdater/src/Utils.cpp') diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index 6cc3841083..cb1fd9d618 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -41,16 +41,16 @@ void LoadOptions() opts.bChangePlatform = db_get_b(NULL, MODNAME, DB_SETTING_CHANGEPLATFORM, 0); } -IconItemT iconList[] = +IconItem iconList[] = { - { LPGENW("Check for updates"),"check_update", IDI_MENU }, - { LPGENW("Plugin info"), "info", IDI_INFO }, - { LPGENW("Component list"),"plg_list", IDI_PLGLIST } + { LPGEN("Check for updates"),"check_update", IDI_MENU }, + { LPGEN("Plugin info"), "info", IDI_INFO }, + { LPGEN("Component list"),"plg_list", IDI_PLGLIST } }; void InitIcoLib() { - Icon_RegisterT(g_plugin.getInst(), MODULE, iconList, _countof(iconList)); + g_plugin.registerIcon(MODULEA, iconList); } void InitNetlib() -- cgit v1.2.3