summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();