summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-05-21 08:26:11 +0000
committerRobert Pösel <robyer@seznam.cz>2012-05-21 08:26:11 +0000
commiteec9900927f176139f99921964a87eb6bc4df780 (patch)
tree8b3c8e4e5d0dfa4f8d4a706fb8c3d54423dc20ba
parentb630b8222027387a769605d8feac4cc0f406a50b (diff)
Updated change from Robyer repository.
git-svn-id: http://svn.miranda-ng.org/main/trunk@116 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/FacebookRM/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/main.cpp b/protocols/FacebookRM/main.cpp
index f7995fc1ce..3441b6bc98 100644
--- a/protocols/FacebookRM/main.cpp
+++ b/protocols/FacebookRM/main.cpp
@@ -204,7 +204,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();