summaryrefslogtreecommitdiff
path: root/protocols/Quotes/QuoteInfoDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Quotes/QuoteInfoDlg.cpp')
-rw-r--r--protocols/Quotes/QuoteInfoDlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Quotes/QuoteInfoDlg.cpp b/protocols/Quotes/QuoteInfoDlg.cpp
index 9e33a66a80..61b6fb5f11 100644
--- a/protocols/Quotes/QuoteInfoDlg.cpp
+++ b/protocols/Quotes/QuoteInfoDlg.cpp
@@ -152,7 +152,7 @@ int QuotesEventFunc_OnUserInfoInit(WPARAM wp,LPARAM lp)
OPTIONSDIALOGPAGE odp = {0};
odp.cbSize = sizeof( odp );
- odp.hInstance = CModuleInfo::GetModuleHandle();
+ odp.hInstance = g_hInstance;
odp.hIcon = Quotes_LoadIconEx(ICON_STR_MAIN);
odp.pfnDlgProc = QuoteInfoDlgProc;
@@ -289,7 +289,7 @@ int Quotes_OnContactDoubleClick(WPARAM wp,LPARAM/* lp*/)
}
else if(true == IsMyContact(hContact))
{
- CreateDialogParam(CModuleInfo::GetModuleHandle(),MAKEINTRESOURCE(IDD_DIALOG_QUOTE_INFO_1),NULL,QuoteInfoDlgProc1,reinterpret_cast<LPARAM>(hContact));
+ CreateDialogParam(g_hInstance,MAKEINTRESOURCE(IDD_DIALOG_QUOTE_INFO_1),NULL,QuoteInfoDlgProc1,reinterpret_cast<LPARAM>(hContact));
}
return 1;