diff options
Diffstat (limited to 'plugins/PluginUpdater')
-rw-r--r-- | plugins/PluginUpdater/src/Utils.cpp | 10 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/stdafx.h | 2 |
2 files changed, 6 insertions, 6 deletions
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()
diff --git a/plugins/PluginUpdater/src/stdafx.h b/plugins/PluginUpdater/src/stdafx.h index 4e5722de85..0f66b8cfb1 100644 --- a/plugins/PluginUpdater/src/stdafx.h +++ b/plugins/PluginUpdater/src/stdafx.h @@ -155,7 +155,7 @@ extern aPopups PopupsList[POPUPS]; extern HANDLE hPipe;
extern HNETLIBUSER hNetlibUser;
-extern IconItemT iconList[];
+extern IconItem iconList[];
struct CMPlugin : public PLUGIN<CMPlugin>
{
|