summaryrefslogtreecommitdiff
path: root/plugins/PackUpdater/Src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PackUpdater/Src/Utils.cpp')
-rw-r--r--plugins/PackUpdater/Src/Utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PackUpdater/Src/Utils.cpp b/plugins/PackUpdater/Src/Utils.cpp
index 9554653ffd..36e04c722f 100644
--- a/plugins/PackUpdater/Src/Utils.cpp
+++ b/plugins/PackUpdater/Src/Utils.cpp
@@ -44,7 +44,7 @@ IconItem iconList[] =
void IcoLibInit()
{
- Icon_Register(hInst, MODULEA, iconList, _countof(iconList));
+ Icon_Register(g_plugin.getInst(), MODULEA, iconList, _countof(iconList));
}
BOOL NetlibInit()
@@ -330,7 +330,7 @@ static void CheckUpdates(void *)
// Show dialog
INT upd_ret = 0;
if (UpdateFiles.size() > 0)
- upd_ret = DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_UPDATE), GetDesktopWindow(), DlgUpdate, (LPARAM)&UpdateFiles);
+ upd_ret = DialogBoxParam(g_plugin.getInst(), MAKEINTRESOURCE(IDD_UPDATE), GetDesktopWindow(), DlgUpdate, (LPARAM)&UpdateFiles);
DeleteFile(tszTmpIni);
if (upd_ret == IDCANCEL) {
hCheckThread = nullptr;