summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/dllmain.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-21 15:37:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-21 15:37:17 +0000
commit85bc1059e1d3e415c467821eb5f18af8fc0a9468 (patch)
treef4677690848b34a64818e097043f9a550c7801d1 /protocols/GTalkExt/src/dllmain.cpp
parent8e88506457722bc5d834fcdd623cc73aa64c1982 (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/dllmain.cpp')
-rw-r--r--protocols/GTalkExt/src/dllmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/GTalkExt/src/dllmain.cpp b/protocols/GTalkExt/src/dllmain.cpp
index bcc54371fb..a59974f883 100644
--- a/protocols/GTalkExt/src/dllmain.cpp
+++ b/protocols/GTalkExt/src/dllmain.cpp
@@ -23,7 +23,7 @@
#include "notifications.h"
#include "options.h"
-HINSTANCE hInst = 0;
+HINSTANCE g_hInst = 0;
DWORD itlsSettings = TLS_OUT_OF_INDEXES;
DWORD itlsRecursion = TLS_OUT_OF_INDEXES;
@@ -32,7 +32,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID)
{
switch (fdwReason) {
case DLL_PROCESS_ATTACH:
- hInst = hinstDLL;
+ g_hInst = hinstDLL;
if (((itlsSettings = TlsAlloc()) == TLS_OUT_OF_INDEXES) ||
((itlsRecursion = TlsAlloc()) == TLS_OUT_OF_INDEXES))
return FALSE;