diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-21 15:37:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-21 15:37:17 +0000 |
commit | 85bc1059e1d3e415c467821eb5f18af8fc0a9468 (patch) | |
tree | f4677690848b34a64818e097043f9a550c7801d1 /protocols/GTalkExt/src/options.cpp | |
parent | 8e88506457722bc5d834fcdd623cc73aa64c1982 (diff) |
fixed crash in GTalkExt popups
git-svn-id: http://svn.miranda-ng.org/main/trunk@4147 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/options.cpp')
-rw-r--r-- | protocols/GTalkExt/src/options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/GTalkExt/src/options.cpp b/protocols/GTalkExt/src/options.cpp index 6febd4892a..810dead8ec 100644 --- a/protocols/GTalkExt/src/options.cpp +++ b/protocols/GTalkExt/src/options.cpp @@ -41,7 +41,7 @@ static const LPTSTR TEST_LETTER_SNIP = LPGENT("* No exceptions");
HANDLE hOptionsHook = 0;
-extern HINSTANCE hInst;
+extern HINSTANCE g_hInst;
void CheckControlsEnabled(HWND wnd)
{
@@ -244,7 +244,7 @@ void AddPopupsPage(WPARAM wParam) odp.ptszTitle = MAIL_NOTIFICATIONS;
odp.pfnDlgProc = PopupsOptionsDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPSETTINGS);
- odp.hInstance = hInst;
+ odp.hInstance = g_hInst;
odp.ptszGroup = POPUPS_OPTIONS_GROUP;
odp.flags = ODPF_UNICODE | ODPF_USERINFOTAB;
@@ -258,7 +258,7 @@ void AddAccPage(LPTSTR acc, LPCSTR mod, WPARAM wParam) odp.ptszTitle = acc;
odp.pfnDlgProc = AccOptionsDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_MAILSETTINGS);
- odp.hInstance = hInst;
+ odp.hInstance = g_hInst;
odp.ptszGroup = NETWORK_OPTIONS_GROUP;
odp.flags = ODPF_UNICODE | ODPF_USERINFOTAB | ODPF_DONTTRANSLATE;
odp.ptszTab = MAIL_NOTIFICATIONS;
|