summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-05-22 23:26:50 +0000
committerRobert Pösel <robyer@seznam.cz>2012-05-22 23:26:50 +0000
commit4ca47cd69c780d25f3403a777fdbbdca8a01bdf2 (patch)
treee0374a97814b2dcb902fa97c9119a91806341169
parent1680c6d262eb0525c1af95195b5b79839a5e2ce9 (diff)
Unhook and MIRANDA_VER fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@137 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Omegle/common.h2
-rw-r--r--protocols/Omegle/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Omegle/common.h b/protocols/Omegle/common.h
index 155521c59f..fa32263ae5 100644
--- a/protocols/Omegle/common.h
+++ b/protocols/Omegle/common.h
@@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma warning(disable:4996)
-#define MIRANDA_VER 0x1000
+#define MIRANDA_VER 0x0A00
#define _WIN32_WINNT 0x0500
#define _WIN32_WINDOWS 0x0500
diff --git a/protocols/Omegle/main.cpp b/protocols/Omegle/main.cpp
index aa69bf7bcb..3dd6570182 100644
--- a/protocols/Omegle/main.cpp
+++ b/protocols/Omegle/main.cpp
@@ -201,7 +201,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
extern "C" int __declspec(dllexport) Unload(void)
{
//UninitContactMenus();
- for(size_t i=1; i<SIZEOF(g_hEvents); i++)
+ for(size_t i=0; i<SIZEOF(g_hEvents); i++)
UnhookEvent(g_hEvents[i]);
g_Instances.destroy();